View source: R/cbs_friction_period.R
cbs_friction_period | R Documentation |
A wrapper function to download CBS data for the friction period.
cbs_friction_period(
years,
industry = "T001081",
folderpath = NULL,
type = "download",
yeardays = 365.25,
...
)
years |
Years for which friction data should be kept. Usually only one year, but several are possible (e.g. 2014:2020) |
industry |
Industry for which friction period should be calculated. Usually "All economic activities" = "T001081" (default). Check downloaded data with cbsodataR::cbs_add_label_columns() for an other industries. |
folderpath |
The path to were the data should be downloaded. Best specified with here::here(). |
type |
Whether data should be downloaded and stored ("download"), only shown ("show") or read from previously downloaded ("read"). Default is "download". |
yeardays |
Number of days used to convert years to days. Default is 365.25 days for one year. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.