Skip to content

echemdb/electrochemistry-data

Repository files navigation

Electrochemistry-data

This repository contains data used for the creation of entries on echemdb.org. The data consist of SVG, YAML and BIB files which are converted into frictionless based unitpackages using svgdigitizer. All input YAML files are validated against the echemdb-metadata schema.

Contributing

The preparation and of the files and the extraction of the data from a PDF source is described here.

Accessing Data

Direct download

The resulting data can be downloaded as a ZIP from the release section.

Alternatively you can use the unitpackages interface (see unitpackages installation instructions).

From the API

Install the latest version of the module.

pip install git+https://github.com/echemdb/electrochemistry-data.git

In your preferred Python environment retrieve the URL via

from echemdb_ecdata.url import ECHEMDB_DATABASE_URL
ECHEMDB_DATABASE_URL

Development

Clone the repository

git clone git@github.com:echemdb/electrochemistry-data.git
cd electrochemistry-data

Install dependencies via conda (or mamba).

conda create -f environment.yaml
conda activate echemdb-data

Create data locally

Run the makefile in the data folder to create data locally.

cd data
make

To use multiple core use make -j4 (in this case 4 cores).