Description Usage Arguments Examples
Convert geocoded coordinates to a FIPS code. Can be used for a data set or a single data point.
1 | FIPS_converter(id, lat, long, state_data, dataset = NULL)
|
id |
Id to be preserved in the output |
lat |
Latiutude |
long |
Longitude |
state_data |
Shapefiles for the state |
dataset |
The data set you would like to join the results onto |
1 2 3 4 5 6 7 8 9 10 | Mayo = grab_shapefiles(c("MN", "WI"))
FIPS_converter(id = c("House 1", "House 2", "House 3"),
lat = c(44.079216, 45.8283963, 46.1252037),
long = c(-92.66854, -95.4019813, -95.4569129),
state_data = Mayo)
id FIPS
1 Some house 1 271090019002
2 Some house 2 270419509001
3 Some house 3 271119615001
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.