Skip to content

scogle/SpillReport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spill Report

A Python script to scrape oil & gas spill data in Colorado from COGCC.

To install, simply download and run scrape.py. This will add anything that isn't already in the database and perform an optional action (I'm using it to tweet spills at @SpillReport).

Requirements

Spill Report relies on several Python libraries to get the data:

BeautifulSoup4 requests sqlite3

Using

Make sure spillLog.db exists in \data if not, create it by running sqlite3 spillLog.db < create.sql

Test that bs4 and requests are installed by running:

$ python
$ > import bs4
$ > import requests

If there are no import errors you're good to go and just need to run python scrape.py.

About

Python script to scrape and log Colorado oil & gas spills. Includes a database of spills.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages