Skip to content

commons-research/lotus-dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LOTUS dataset

This repository contains the code to download the LOTUS database with different versions.

Installation

To install this package simply run :

pip install git+https://github.com/mvisani/lotus-dataset

Usage

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()

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages