get_county_data: Get Dataframe of Matching County Data

Description Usage Arguments Details Value Examples

Description

This function returns a dataframe with County ID data for a vector of Latitudes and Longitudes in a dataframe.

Usage

1
get_county_data(Latitude, Longitude, year = 2015)

Arguments

Latitude

vector of Latitudes

Longitude

Vector of Longitudes

year

vintage of shapefiles, defaults to 2015 if none specified

Details

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

Value

A datafame with associated Ccountyinfo. Will be in correct order as original Lat/Long to make it easy to append the data

Examples

1
2
3
counties<-get_cunty_data(NEA$CoLatitude, NEA$CoLongitude)
NEA$county_GEOID<-counties$county_GEOID
NEA$county_NameLSAD<-counties$county_NameLSAD

gmellon/neaR documentation built on May 14, 2019, 2:42 p.m.