powered by
Get the name of the area from the code that appears in the name of the area files.
get_name_from_area_code(ac, area)# S3 method for acs_5yr get_name_from_area_code(ac, area)
# S3 method for acs_5yr get_name_from_area_code(ac, area)
A vector, area code.
An acs_5yr object.
acs_5yr
A string, area name.
Other information functions: get_code_from_area_name()
get_code_from_area_name()
dir <- system.file("extdata/acs_5yr", package = "geogenr") ac <- acs_5yr(dir) name <- ac |> get_name_from_area_code(area = "METDIV")
Run the code above in your browser using DataLab