Skip to contents

Function that takes in an address and returns a dataframe with cities in the county and their populations in a tidy format.

Usage

Pop_Binder(address, state, df_geocode)

Arguments

address

the address must be in the standard Google maps form

state

a character value of the abbreviated state name inherited from DSPGrocery::Calc_Market_Size.

df_geocode

a single observation data frame containing the lat/lng values of the geocoded address inherited from DSPGrocery::Calc_Market_Size.

Details

Makes a TidyCensus and Google Places API call, needs key

Author

Alex Cory