Shaiwal Sachdev edited textit_textbf_Data_to_Collect__.tex  almost 8 years ago

Commit id: afff4a1d7b5779635b70806a42b82430072531eb

deletions | additions      

       

\textit\textbf{Data to Collect!}  Next \\Next  task was to collect the fare data for all these OD(Origin Destination) Pairs. We use the UBER API Price \textbf {"GET /v1/estimates/price"} to collect the fare data for all these locations.  What we found out in the Uber Api that it does take the timezone as parameter , it just takes four parameters  \begin{enumerate} 

On making the request , a json response we get containing the details for all the different UBER services  namely \textbf{uberPOOL, uberX, uberXL, uberFAMILY,UberBLACK, UberSUV}.For handling the huge dataset and to run the api request at the specified time the dataset was divided into smaller parts and all code run in parallel.Large number of UBER API keys around 100 keys were used and data was collected.Approximate Time for a given timezone data was desired to be less than or equal to one hour.   For \\For  initial comparison we will collect data for four timezones 6 , 10 , 16 , 20, As we are 9 hrs 30 minutes ahead and also we collect the list of locations for different timezones  using the   \textbf{Query: Only selecting locations