In this post, we are going deeper into the Dynamic Data project, looking at the Garmin dynamic data (library available here on GitHub and at NPM). Opening the library, you’ll see there are eight types of data objects: dailiesData, dailiesDataAsync, epochsData, epochsDataAsync, sleepsData, sleepsDataAsync, pulseoxData, and pulseoxDataAsync. Learn more about dynamic data generators and the benefits of artificial data in software development. About the data source Garmin is a company that produces a wide range of GPS and navigation products for both consumer and professional markets. Some of their popular products include fitness watches and activity trackers, in-car GPS navigation systems, and handheld GPS devices for outdoor activities such as hiking and cycling. They also produce marine and aviation GPS systems and a variety of wearable technology products such as smartwatches. In addition to their GPS products, Garmin also offers a variety of other products and services related to fitness, outdoor recreation, and technology. These products are designed to help users track their physical activity and exercise, as well as other health and wellness metrics such as sleep, heart rate, and stress levels. Some of the features offered by Garmin's fitness products include:
Approach used Garmin provides an API to connect to the user's data through its Garmin Connect Developer Platform. By inspecting the example data and the reference, several JSON objects were constructed and then stored in an NPM package. Each of these JSON objects then had an associated 'Async' version created. The index file of the package imports these data objects and exports them in a collection called “Data”. These mockup files make up the garmin-data package. Models Generated With JSON Crack The garmin-mockups package imports the files 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 EpochsData object:
Use case ideas
Explore entirely new use cases
Ideas to combine with some other data sources
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
Join our Slack community; Liberty. Equality. Data. to brainstorm and collaborate with other app developers, designers, and our team.
Comments are closed.
|