This repository contains the code to download the LOTUS database with different versions.
To install this package simply run :
pip install git+https://github.com/mvisani/lotus-dataset
To download all the files of all the versions of LOTUS, you can run the following command:
python examples/build_lotus.py all
You can also do :
from lotus_dataset import Dataset
dataset = Dataset.load("v10")
lotus_df = dataset.dataframe
You can also query LOTUS from Wikidata using the Qlever engine. This will load the most recent information about LOTUS (without metadata). The result is a dataframe of triples : species, molecule, reference.
from lotus_dataset import Dataset
df = Dataset.get_lotus_from_wikidata()