Web app for data visualization & sharing with third parties.
In the previous tutorial Collect Survey Data, you have collected and stored data from the mother in her Pryv.io account when she took the example survey.
In this web app, you provide her with a tool to visualize data from her account and to share it with third parties.
Sign in | Visualize data | Share data |
---|---|---|
- Ask for login
- Request access for the app "pryv-example-view-and-share" to read the streams "Baby" and "Body"
- Display the data
- Create or delete a sharing to a third party
- Display shared data
This use case implies the stream structure from the example Collect Survey Data as illustrated below.
The app "pryv-example-view-and-share" first requests an access on the streams "Baby" and "Body" with a "read" level in order to be able to display the events contained in these streams:
Data from the streams "Baby-Body" and "Heart" is fetched by the app and displayed in a table form. The weight of the baby and the blood pressure are presented along with the time and date of the measurement, that is converted from Unix Epoch to ISO 8601 format.
Either one of the streams "Baby-Body" or "Heart", or both streams, can be shared with third-parties. This translates into a 'read' access to the shared stream. The sharing consists in a link that can be communicated directly or by email to a third party. When opened, it displays the data within the scope of the sharing.
You can check out the tutorial to view and share data with third parties :