cbs_friction_period: A wrapper function to download CBS data for the friction...

View source: R/cbs_friction_period.R

cbs_friction_periodR Documentation

A wrapper function to download CBS data for the friction period.

Description

A wrapper function to download CBS data for the friction period.

Usage

cbs_friction_period(
  years,
  industry = "T001081",
  folderpath = NULL,
  type = "download",
  yeardays = 365.25,
  ...
)

Arguments

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.


fthielen/tatooheen documentation built on Nov. 8, 2023, 4:37 a.m.