R/codes.R
check_code.Rd
Given an id check if it is valid.
check_code(id)
ID or CVE of the document (character).
A logical value if correct, errors if something is not right.
check_code("BOE-S-20141006") # Normal way #> [1] TRUE check_code("BOE-S-2014-242") # Also accepted but not documented #> [1] TRUE # Will fail: # check_code("BOE-S-2014")
Site built with pkgdown 2.0.6.
Template rostemplate by dieghernan, based on Bootstrapious.