data-liberation-project / epa-rmp-viewer

Simple viewer/browser for EPA RMP submissions.
https://data-liberation-project.github.io/epa-rmp-viewer/
2 stars 1 forks source link

EPA RMP Submission Viewer

🌐 data-liberation-project.github.io/epa-rmp-viewer

This repository aims to build a simple browser and viewer for raw data extracted from the EPA's Risk Management Program database, obtained by the Data Liberation Project via FOIA.

Structure

The repository consists of two main components:

Local Development

SQLite->JSON converter

Follow these instructions to run the converter yourself.

Copy the main RMP SQLite files into data/raw/

Install the Python requirements

This project requires Python 3, and a few Python libraries. To install them, create a Python virtual environment (make venv) and activate it (source venv/bin/activate).

Tweak the conversion process

There are two main ways to alter the conversion process:

Create JSON files for each submission

Frontend

Follow these instructions to modify the Svelte application.

Install the JavaScript requirements

cd viewer && npm install

Edit the Svelte code

The viewer is written as a Svelte app, with all relevant files in the viewer/ directory. The main source files are in viewer/src/.

Licensing

This repository's code is available under the MIT License terms. The data files are available under Creative Commons' CC BY-SA 4.0 license terms.

Questions / suggestions?

File them as an issue in this repository or email Jeremy at jsvine@gmail.com.