Data input code for getting data using an API from GoI data portal.
Initial commit.
Gets the data and converts it to a data.frame.
some of the unnecessary code related to unsuccessful attempts (fetching XML, converting list into the dataframe etc) removed
DataInput.R now runs successfully from end to end. Fetches data from open data website using JSON API and stores hotelData and hotelFieldType as R data objects in the "/Data" directory.
DataInput.R updated to account for recursive list elements. Corresponding .RData files updated. hotelDataAnalysis.R file created to perform various exploratory analyses on the data.
added an extra function to trim lagging/ leading spaces in a character variable
added an extra column with all state names in upper case
basic data cleaning + simple visualization
file renamed
hotelDataInput.R renames to GOIDataInput.R
The new file now has a generic function to be called to access any API resource available on Open Data Portal of GOI
Script to make api call (for ODP by GOI) and get data based on resource id provided
Adding commodities, hotel and pincode data as acquired making API calls
csv file with details about API resources available on ODP by GOI