Description Usage Arguments Details Value Examples
This function returns a dataframe with County ID data for a vector of Latitudes and Longitudes in a dataframe.
1 | get_county_data(Latitude, Longitude, year = 2015)
|
Latitude |
vector of Latitudes |
Longitude |
Vector of Longitudes |
year |
vintage of shapefiles, defaults to 2015 if none specified |
It returns a dataframe with the following components: GEOID: The GEOID of the County - i.e. FIPS Code NAME_LSAD: The Name of the County
A datafame with associated Ccountyinfo. Will be in correct order as original Lat/Long to make it easy to append the data
1 2 3 | counties<-get_cunty_data(NEA$CoLatitude, NEA$CoLongitude)
NEA$county_GEOID<-counties$county_GEOID
NEA$county_NameLSAD<-counties$county_NameLSAD
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.