Lists the available FCDS recoding settings files for use with fcds_import(). Recoding settings are tagged with -release-2018 indicating the year of the FCDS release for which they are designed, except for the latest release settings, which does not have this tag.

fcds_recoding(version = as.integer(strftime(Sys.Date(), "%Y")))

Arguments

version

The full name of the FCDS recoding settings file, or the year of the release. If the year provided is more recent than the latest tagged setting, the current release (package default) will be returned.

See also

Other FCDS Import Functions: fcds_cache, fcds_default_data_path, fcds_import, fcds_load

Examples

fcds_recoding()
#> [1] "fcds_recoding.yaml"
fcds_recoding(NULL)
#> [1] "fcds_recoding.yaml" "fcds_recoding_release-2018.yaml"
fcds_recoding(2018)
#> [1] "fcds_recoding_release-2018.yaml"
fcds_recoding("fcds_recoding_release-2018")
#> [1] "fcds_recoding_release-2018.yaml"
fcds_recoding(2019)
#> [1] "fcds_recoding.yaml"