Description Usage Arguments Value Examples
Downloads a whole register (or reads it from a file) and constructs an object that can be interrogated for its records, entries, items, schema, links to other registers, etc.
You should probably run rr_snapshot()
on the output before using it.
1 2 3 |
name |
Character, the name of the register. |
phase |
Character, one of |
file |
Character, file path or URL, passed on to |
write |
Logical, whether to write the RSF file to disk. If |
dest_path |
Character, path and file name to write the RSF to. |
parse_datetimes |
Logical, whether to parse ISO8601 strings as datetimes
with |
quiet |
Logical, if |
An S3 object of class register
1 2 3 4 5 6 | rr_register("country")
rr_register("country", "beta")
path <- tempfile()
download.file("https://country.register.gov.uk/download-rsf", path)
rr_register(file = path)
unlink(path)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.