Skip to content

national-data-platform/ckan-data-loader

Repository files navigation

ckan-data-loader

WiFire PGML Dataset:

  1. Setup:
  • Virtual environment:
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
  • Set environment variables:
cp .example.env .env
vim .env

# replace your CKAN host and CKAN API TOKEN:
# CKAN_API_URL = "http://localhost:5000/api/3/action"
# CKAN_API_TOKEN = "eyJ0eXA...6nTYcf8RBW_IjZppDGGmZw"
  1. Run PGML Dataset Loader Script
  • Modify data per needs: Metadata is defined in wifire_pgml_dataset/data.py

  • Load data into CKAN:

cd wifire_pgml_dataset
python3 load_pgml_data.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published