Open-Source-Spatial-Clean-Cooking-Tool / OnStove

This repository contain the general code for the Open Source Spatial Clean Cooking Tool OnStove
MIT License
7 stars 8 forks source link

Create databases for the countries #332

Closed babakkhavari closed 1 year ago

babakkhavari commented 1 year ago

All countries present need databases

babakkhavari commented 1 year ago

We seem to be able to create draft datasets on Mendeley and download them from there. This then allows users with the link to access the data but not anyone outside of the group. To do this 1) create the repository (already exists), 2) upload the datasets in country folders, 3) click preview and copy the links to a dictionary that is read in and used for downloading.

Doing this allows us to download the data as we do in the current notebook for Ghana.

For the dictionary we can use a yml file:

import yaml

with open('example.yml', 'r') as file:
    data = yaml.safe_load(file)

Code snippet above does not require any additional packages

Before reading in the yml we can create a cell with roll-down menus of available options (keys)

babakkhavari commented 1 year ago

Ensure to have some unprocessed data in the Mendeley

babakkhavari commented 1 year ago

For unprocessed data we can give: