name_to_fips: Get FIPS or CBSA codes from county or metropolitan area...

View source: R/utils.R

name_to_fipsR Documentation

Get FIPS or CBSA codes from county or metropolitan area locations

Description

Get FIPS or CBSA codes from county or metropolitan area locations

Usage

name_to_fips(data, hub = c("US", "ECDC"))

Arguments

data

a vector of strings for fips code, CBSA codes, location names such as "Hampshire County, MA", "Alabama", "United Kingdom". A US county location names must include state abbreviation.

hub

character vector, where the first element indicates the hub from which to load forecasts. Possible options are "US", "ECDC" and "FluSight"

Value

A vector of FIPS or CBSA codes


reichlab/covidHubUtils documentation built on Feb. 6, 2024, 1:42 p.m.