statnipokladna 0.6.0
Improvements
- directory for downloading raw data and documentation in all
sp_get_*()
functions can now be set in the optionstatnipokladna.dest_dir
. Set this at the beginning of your script or once per session, or in your.Rprofile
(e.g.setOption(statnipokladna.dest_dir = "~/sp_data")
for cross-session storage orsetOption(statnipokladna.dest_dir = "sp_data")
for storing all data downloaded by statnipokladna in ansp_data
subfolder of the current project.) - downloaded data is no longer nested in a
statnipokladna
directory insidedest_dir
. - minor improvements and updates in vignettes.
- properly included the tibble package to ensure correct print methods for output tibbles
sp_get_dataset()
andsp_get_dataset_doc()
now return their outputs invisibly and provide better messages
Bug fixes
- adapt
sp_get_table()
to a new structure of some data dumps on the part of the data provider sp_get_codelist()
no longer issues a tibble-related warningsp_get_codelist()
now parses all dates correctly
Deprecations
Functions with names not starting with sp_
are deprecated and emit a warning. Use equivalent functions named sp_*
.