example/cbs4_add_unit_column.R

if (interactive()){
  # works only on observations
  obs <- cbs4_get_observations("84287NED", Perioden="2019MM12")
  obs # without Unit column

  obs_unit <- cbs4_add_unit_column(obs)
  obs_unit # with unit column
}
statistiekcbs/cbsccb documentation built on April 8, 2022, 2:38 a.m.