| sp_get_codelist_file | R Documentation | 
This is normally called inside sp_get_codelist() but can be used separately if
finer-grained control of intermediate outputs is needed, e.g. in a {targets} workflow.
sp_get_codelist_file(
  codelist_id = NULL,
  url = NULL,
  dest_dir = NULL,
  redownload = FALSE
)
| codelist_id | A codelist ID. See  | 
| url | DESCRIPTION. Either this or  | 
| dest_dir | character. Directory in which downloaded files will be stored.
If left unset, will use the  | 
| redownload | Redownload even if file has already been downloaded? Defaults to FALSE. | 
path to XML file; character vector of length one.
Other Detailed workflow: 
sp_get_codelist_url(),
sp_get_dataset_url(),
sp_get_table_file(),
sp_load_codelist(),
sp_load_table()
## Not run: 
sp_get_codelist_file("druhuj")
codelist_url <- sp_get_codelist_url("druhuj")
sp_get_codelist_file(url = codelist_url)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.