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_load_table(path, ico = NULL)
path to a CSV file, as output by sp_get_table_file()
.
Organisation ID to filter by, if supplied.
a tibble. See help for sp_get_table()
for a key to the columns.
Other Detailed workflow:
sp_get_codelist_file()
,
sp_get_codelist_url()
,
sp_get_dataset_url()
,
sp_get_table_file()
,
sp_load_codelist()
if (FALSE) { # \dontrun{
ds <- sp_get_dataset("rozv", 2018, 12)
tf <- sp_get_table_file("balance-sheet", ds)
sp_load_table(tf)
} # }