NEWS.md
sp_get_*()
functions can now be set in the option statnipokladna.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 or setOption(statnipokladna.dest_dir = "sp_data")
for storing all data downloaded by statnipokladna in an sp_data
subfolder of the current project.)statnipokladna
directory inside dest_dir
.sp_get_dataset()
and sp_get_dataset_doc()
now return their outputs invisibly and provide better messagessp_get_table()
to a new structure of some data dumps on the part of the data providersp_get_codelist()
no longer issues a tibble-related warningsp_get_codelist()
now parses all dates correctly*_date
columns now work in sp_add_codelist()
, fixes #66sp_add_codelist()
returns a message if joining by multiple columnssp_add_codelist()
gains a by
parameterusethis::
sp_get_dataset()
sp_get_dataset_doc()
now checks that dataset exists before pointing/downloading.sp_*
to avoid conflicts with other packages and for better discoverability via autocomplete; original functions are soft-deprecated.get_table()
now provides access to changes-in-equity data (přehled o změnách vlastního kapitálu, use "changes-in-equity"
table id) and cash flow statements (přehled o peněžních tocích, use "cash-flow"
id)get_table()
now fully documents the columns in its output, see help("get_table")
get_codelist()
did not create the right temp directoryget_table()
get_table()
when ico
is set*_codelist()
are now stored in tempdirico
parameter in get_table()
now directly follows the key parameters; this will break cases where the function was called with unnamed parameters but will make use more straighforward.table_id
parameter in get_table()
is now a human-readable alphanumeric code, not a meaningless number. This will break all uses of get_table but make future use more sensible.add_codelist()
function for joining codelists to core financial dataget_codelist()
gains n
parameter, allowing only a limited number of rows of a codelist to be retrieved (to save time)get_codelist()
has a new paramater which opens the online codelist viewerico
parameter in get_table()
now worksget_codelist()
now returns a codelist df ready to join to core dataget_codelist()
get_dataset()
function for retrieving filesget_table()
function for loading data - only experimental
get_dataset_doc()
function for accessing/downloading official documentation for each datasetget_codelist()