| check_code | R Documentation | 
Given an id check if it is valid.
check_code(id)
valid_code(id, sumario = TRUE, BORME = FALSE)
| id | ID or CVE of the document (character). | 
| sumario | Logical value if sumarios should be accepted. | 
| BORME | Logical value if BORME journal should be accepted. | 
A logical value if correct, errors if something is not right.
valid_code(): Returns logic values
check_code("BOE-S-20141006") # Normal way
check_code("BOE-S-2014-242") # Also accepted but not documented
# Will fail:
# check_code("BOE-S-2014")
valid_code("BOE-S-2014")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.