powered by
Takes in a city/state and outputs demographic data from the Missouri Census Data Center
getCensus(cities, radius)
list of cities to be passed
numeric number used to create a boundary around the city coordinates
Data frame containing demographic data
# NOT RUN { radius <- 2 cities <- c("Chicago", "New York") df <- getCensus(cities, radius) head(df) # }
Run the code above in your browser using DataLab