sp_get_table_file | R Documentation |
This is normally called inside sp_get_table()
but can be used separately if
finer-grained control of intermediate outputs is needed, e.g. in a {targets}
workflow.
sp_get_table_file(table_id, dataset_path, reunzip = FALSE)
table_id |
Table ID; see |
dataset_path |
Path to downloaded dataset, as output by |
reunzip |
Whether to overwrite existing CSV files by unzipping the archive downlaoded by |
Character vector of length one - a path.
Other Detailed workflow:
sp_get_codelist_file()
,
sp_get_codelist_url()
,
sp_get_dataset_url()
,
sp_load_codelist()
,
sp_load_table()
## Not run:
ds <- sp_get_dataset("rozv", 2018, 12)
sp_get_table_file("balance-sheet", ds)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.