prep/refactor.md

Datasets

[x] sp_get_dataset should accept multiple time periods, as sp_get_table does now should return a vector of paths to ZIP files (not unzip outputs)

This should be the only breaking change for the user - sp_get_dataset no longer returns

Tables

Codelists

new sp_get_codelist_url fn broken out, takes codelist ID as input and returns URL to XML as output new sp_get_codelist_file fn broken out of sp_get_codelist, takes codelist ID as input and returns XML file path as output new sp_load_codelist fn broken out; takes codelist XML file path as input and outputs tibble

sp_get_codelist becomes a wrapper around these two

No changes visible to users of sp_[get|add]_codelist

Targets workflow

Architecture/API:

for tables and you can either call the two/three steps sequentially or use a higher-level wrapper

Documentation

vignette for reproducible workflows



petrbouchal/statnipokladna documentation built on Aug. 23, 2024, 12:48 a.m.