Skip to content

BenPortner/schema

 
 

Relational database schemas for BONSAI

A Postgres database schema for storing raw and processed BONSAI data.

schema graphic

See bonsai_raw_data_schema.sql and the issues for now.

Usage

Install Postgresql with the associated command line tools.

In a terminal, run the following:

    create_and_populate_database.sh

On Windows, you can also run a .bat file:

    create_and_populate_database.bat

Development

Python files (in the python directory of this repo) used to define the common metadata require the following dependencies:

  • pandas
  • psycopg2
  • pyarrow
  • pyshp
  • requests

About

Relational database schemas for BONSAI

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PLpgSQL 98.2%
  • Python 1.5%
  • Other 0.3%