GithubHelp home page GithubHelp logo

karldw / pudl-scrapers Goto Github PK

View Code? Open in Web Editor NEW

This project forked from catalyst-cooperative/pudl-scrapers

0.0 1.0 0.0 209 KB

scrapers to collect raw data from web sources

Python 14.26% HTML 85.48% Dockerfile 0.23% Shell 0.03%

pudl-scrapers's Introduction

PUDL Scrapers

Installation

To make automation easy, it is recommended that you use vex to manage your python environment.

From your virtual environment:

pip install -r requirements.txt
pip install ./ # OR pip install -e ./
# Done

Output location

Logs are collected: [your home]/Downloads/pudl_scrapers/scraped/

Data from the scrapers is stored: [your home]/Downloads/pudl_scrapers/scraped/[source_name]/[today #]

Running the scrapers

The general pattern is scrapy crawl [source_name] for one of the supported sources. Typically and additional "year" argument is available, in the form scrapy crawl [source_name] -a year=[year].

See below for exact commands and available arguments.

2010 Census GeoData

scrapy crawl census

No other options.

EPA CEMS

For full instructions:

epacems --help

EIA860

To collect all the data:

scrapy crawl eia860

To collect a specific year (eg, 2007):

scrapy crawl eia860 -a year=2007

EIA860M

To collect all the data:

scrapy crawl eia860m

To collect a specific month & year (eg, August 2020):

scrapy crawl eia860 -a month=August -a year=2020

EIA861

To collect all the data:

scrapy crawl eia861

To collect a specific year (eg, 2007):

scrapy crawl eia861 -a year=2007

EIA923

To collect all the data:

scrapy crawl eia923

To collect a specific year (eg, 2007):

scrapy crawl eia923 -a year=2007

FERC Form 1

To collect all the data:

scrapy crawl ferc1

To collect a specific year (eg, 2007):

scrapy crawl ferc1 -a year=2007

FERC 714

To collect the data:

scrapy crawl ferc714

There are no subsets, that's it.

IPM NEEDS6

To collect all the data:

scrapy crawl epaipm

No additional arguments are supported.

pudl-scrapers's People

Contributors

cmgosnell avatar karldw avatar ptvirgo avatar zaneselvans avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.