View source: R/utils.R View source: R/create_fips.R
This function takes in a state vector, county vector, and tract vector that are string or numeric, and returns a unified FIPS code of the finest level of geography provided
Helper function for smoov(). This function accepts input for states, counties, and tracts, and outputs an vector equal to the length of each input vector, or the length of the smallest geography vector if only one of each of the larger geographies is provided.
1 2 3 | create_fips(state = NULL, county = NULL, tract = NULL)
create_fips(state = NULL, county = NULL, tract = NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.