Skip to contents

This function takes in the geographic arguments and maps them to county FIPS codes found in legacy datasets. These codes can then be used to filter these legacy datasets.

Usage

map_countyfips(geo.county, geo.region, geo.cbsafips, geo.csafips)

Arguments

geo.county

character vector. County names for filtering e.g. "cullman", "dale". Case insensitive.

geo.region

character vector. Regions for filtering e.g. "South", "Midwest" based on census region classifications.

geo.cbsafips

numeric vector. Census CBSA FIPS codes.

geo.csafips

numeric vector. Census CSA FIPS codes.

Value

character vector. county fips codes for filtering core datasets.