This function will return all county FIPS codes for all counties within a state or states.
Character vector giving the name of state or states (not case sensitive) for which you would like to get county FIPS codes.
This function uses the
county.fips dataset from the
package to pull county FIPS for a state.
A character vector with the 5-digit FIPS codes for all counties within the specified state or states.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.