Description Usage Arguments Examples
county_to_state_border
outputs the minimum distance between a county population center
and the nearest state border. Alternatively, returns the identifier for the nearest state border.
1 2 | county_to_state_border(fips_code, return_state_border_id = FALSE,
miles = TRUE)
|
fips_code |
FIPS code of county. |
return_state_border_id |
Binary flag for whether to return the state border identifier for the nearest state border instead of the distance. Defaults to FALSE. |
miles |
Binary flag for whether to return distance in miles (TRUE) or kilometers (FALSE). |
1 2 | county_to_state_border(fips_one = "01003", return_state_border_id = FALSE, miles = TRUE)
county_to_state_border(fips_one = temp_df$fips_code, return_state_border_id = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.