PingThings
This post gives a demo for new users to learn how to interface with data in PredictiveGrid using "The Plotter"
Nica Campbell
July 28, 2020
This post aims to familiarize new users with a few different ways of interacting with data using “The Plotter”. The plotter offers the following features:
There are a few options for saving and sharing work you do in the plotter:
We’ll use the “Sunshine” dataset as an example. Here’s a blog post you can read to learn more about the data.
The “All Streams” table lists all of the data streams available on NI4AI. If you know what you’re looking for, you can find it by typing the search terms in the “COLLECTION” box. For example, if you type “Sunshine” you’ll see data streams reporting current, voltage, and angle measurements for six PMUs.
A “stream” is sequence of time series values. Each value in the stream is a data point with a time stamp associated with it. Each stream comes with metadata (i.e., data about the data). Metadata is reported in JSON format in the bottom right corner of the screen. Metadata fields provide context relevant to interpreting the data — such as the units, measurement location, or things to look for in the data. Metadata fields may differ from one stream to another depending on what is measured, and depending on what information a particular data provider was willing and able to share.
Every stream includes a metadata field called “UUID” that gives a unique ID used for querying the database. This UUID is relevant to specifying streams when querying the API. We say more on this in a blog post about interacting with our API.
Once you select which streams you want to visualize, you can create a permanent link that saves your selection. You can use this to come back to the visualization at any time, or to share what you’re looking at with collaborators.
You can use the plotter to zoom in on specific events or time intervals in the data. To share a visualization, you can either save the graph as an image, or copy and paste.
You can also interact with the data directly through the Python API to do analysis or to generate visualizations of your own. The “Export to Jupyter” button generates a code snippet you can copy and paste directly into a Jupyter notebook or Python script.
You will need to install the btrdb python package to connect to the database. You can find more information here.
Useful tips and code samples are available on our blogs and in the BTrDB docs.
Stay tuned for more demos, and happy analyzing!
Project Kickoff
Project Kickoff
October 25, 2019
Time Series Benchmarking Results
A brief report on recent benchmarking results across time series databases
December 17, 2019
Nica Campbell
Nica Campbell is an Environmental Economics & Policy student at UC Berkeley and a data management intern at Ping Things. Nica is excited about the infinite possibilities of the NI4AI platform and hopes her blogs will help users get started here. She is looking forward to hearing from the NI4AI community to help, learn and explore together.