France names
getNamesFR.Rd
Retrieves France statistical unit names.
Arguments
- year
year of the analysis
- unit
the type of statistical units
- all_levels
a logical value indicating if all levels are returned or only the unit names
Examples
getNamesFR()
#> code region nuts2
#> 1 04 la r\xe9union fr94
#> 2 94 corse fr83
#> 3 02 martinique fr92
#> 4 11 \xeele-de-france fr10
#> 5 32 hauts-de-france fr22
#> 6 75 nouvelle-aquitaine fr61
#> 7 28 normandie fr25
#> 8 01 guadeloupe fr91
#> 9 52 pays de la loire fr51
#> 10 24 centre-val de loire fr24
#> 11 44 grand est fr21
#> 12 03 guyane fr93
#> 13 93 provence-alpes-c\xf4te d'azur fr82
#> 14 06 mayotte <NA>
#> 15 53 bretagne fr52
#> 16 27 bourgogne-franche-comt\xe9 fr26
#> 17 76 occitanie fr62
#> 18 84 auvergne-rh\xf4ne-alpes fr71
# \donttest{
getNamesFR(all_levels = FALSE)
#> [1] "la r\xe9union" "corse"
#> [3] "martinique" "\xeele-de-france"
#> [5] "hauts-de-france" "nouvelle-aquitaine"
#> [7] "normandie" "guadeloupe"
#> [9] "pays de la loire" "centre-val de loire"
#> [11] "grand est" "guyane"
#> [13] "provence-alpes-c\xf4te d'azur" "mayotte"
#> [15] "bretagne" "bourgogne-franche-comt\xe9"
#> [17] "occitanie" "auvergne-rh\xf4ne-alpes"
# }