Prifina for Developers
  • Docs
  • Getting Data
  • Support
  • Slack
  • Blog
  • Prifina.com

Artificial Uber Data for Software Development

11/7/2022

 
In this post, we are going deeper into the Dynamic Data project, looking at the Uber dynamic data (library available here on GitHub and at NPM). Opening the library, you’ll see there are ten types of data objects: ProductDetails, PriceEstimates, TimeEstimates, UserInfo, PaymentMethods, SavedPlaces, RideDetails, RideMapDetails, RideReceiptDetails and Products.
Learn more about dynamic data generators and the benefits of artificial data in software development.
Picture

About the data source

Uber (iOS|Android)is one of the largest ride-hailing apps available. Using the app, the user requests a ride along with the desired destination. The driver will travel towards the riders current location whilst they wait. Once the driver arrives, the rider confirms the drivers identity and travels with the driver towards the destination. After the trip, the rider can rate the trip with a 5-star system and tip the driver. There are several available rides depending on the number of guest riders and any mobility assistance needed. 

There are several other services offered by Uber:
  • Uber Eats: food delivery service
  • Uber Jump Bikes: rent-able electric bikes

Approach used

Uber has an offical API that allows for the retrieval of ride and personal info. Using the API reference, several JSON objects were created and stored from the data types recorded. The index file of the package imports these data objects and exports them as a collection called “Data”. These mockup files make up the uber-data package
PaymentMethods
PriceEstimates
ProductDetails
Products
RideDetails
RideMapDetails
RideReceiptDetails
SavedPlaces
TimeEstimates
UserInfo
Models Generated With JSON Crack
The uber-mockup package imports the file above and goes through each attribute generating artificial (new) data using proprietary functions, such as those found in the utils package.

For example, with the PriceEstimates object:
Static PriceEstimates Object

    
Artifical PriceEstimates Object

    

Use case ideas

  • Travel Apps
  • Data Visualization apps
  • etc

Ideas to combine with some other data sources

  • Combine with other ride-hailing apps like Lyft to achieve a full overview of traveling expenses
  • Or with some entirely different segment data, like air quality, weather, location or similar to find interesting new applications for the data.

Open-source data library

We welcome contributions and forks to this data set, and look forward to seeing what developers build in our Liberty. Equality. Data. Slack channel.

Considerations for next version/improvements

  • Sensible Display Names
  • Sensible Price for distance traveled
  • Sensible Distance Traveled, i.e. a suitable range of miles traveled that is realistic
  • Greater reliance on 'utils' package
With Prifina developers can use the Dynamic Data Libraries natively in the App Studio to build direct to consumer apps where individuals can run them with their own user-held data.
Join our Slack community; Liberty. Equality. Data. to brainstorm and collaborate with other app developers, designers, and our team.

Comments are closed.

    Categories

    All
    23andme
    Ancestry
    Apple
    Dynamic Data
    Fitbit
    Google
    Ios
    Movesense
    Open Source
    Oura
    Peloton
    Polar
    Runkeeper
    Sensor BNO055
    Spotify
    Strava
    Twitch
    Uber
    Use Case
    Veri
    Whoop
    Withings

    RSS Feed

© 2023 PRIFINA INC. ​
Terms of Service
Privacy Policy
About Prifina
  • Docs
  • Getting Data
  • Support
  • Slack
  • Blog
  • Prifina.com