AH
8/17/2019
India Cities Database
This document was rendered at August 18, 2019 at 12:19:36.
The shinyapp list down prominent cities in India. Each row includes a city’s latitude, longitude, state and population of each city. The data set was chosen for the assignment.
Three files are used
INmapdata <- fromJSON(“https://simplemaps.com/static/data/country-cities/in/in.json”, flatten = TRUE) 2. removing any NA
completerecords <- na.omit(INmapdata)
ui.R - defines user interface and have city, state and population as variables.
server.R - subsets that data for the city &/or, state &/or population selected.