Python module to work with JSON files created by WebPlotDigitizer
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
wpd.py

README.md

wpd-python

Python module to work with JSON files created by WebPlotDigitizer

Purpose

Working with CSV files generated by WebPlotDigitizer is quite easy, but when there are multiple sets of data in a plot, it becomes a little tedious to work with multiple CSV files. Also many times, we want to fetch axes calibration data or exact pixel location of data points which can not be exported to CSV files. JSON files generated by WebPlotDigitizer contain all of this information in a single file, but importing these files in Python is a little tricky. Many users are not familiar with JSON files and find it difficult to work with these files.

This Python module is intended to provide an easy access to the data stored in the JSON file. In the future, I would also like to include common analysis functions (e.g. combine data from errors bars stored in different data sets).

Status

This code is at a very initial stage right now. I will update this README with details soon.

Contribute

If you would like to add to this code, then please feel free to send a pull request or email me personally. Any help is appreciated!

What about R?

I would like to work on a similar R script/package soon. If you want to help, then let me know.