Description Usage Arguments Value Examples
countyFIPS
converts lat/lon coordinates, location names, or
place FIPS codes to county-level FIPS codes.
1 | countyFIPS(lat, lon, location = NULL, place = NULL, key = NULL)
|
lat |
The latitude coordinate for a location |
lon |
The longitude coordinate for a location |
location |
The name of a location given as a string |
place |
The Place FIPS Code given as a string |
key |
Your Google API key for geocoding location strings and place FIPS |
A dataframe returning the queried coordinates and resulting state, county, and county FIPS
1 2 3 | countyFIPS(lat = 39.9526, lon = -75.1652)
countyFIPS(location = "Philadelphia, PA", key = "XXXXXXXXXXXXXX")
countyFIPS(place = "4260000", key = "XXXXXXXXXXXXXX")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.