Skip to content

A service for syncing orestar records with the open elections db

License

Notifications You must be signed in to change notification settings

hackoregon/orestar-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OreStar-API

Django API

Django Rest Framework

Seleinum Headless Web scrapper

Selenium automates browsers. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. We use it to interact with javascript generated components to naviagte through OreStar.

OreStar

Orestar is a publically funded collection of Oregon State election financing data

Build Image and Run API Image

./bin/build.sh -d
./bin/start.sh -d

Run WebScraper

In order to scrape OreStar website adjust the following lines to the appropriate date save and run the command below.

python manage.py transactionsByDate

This will generate a .csv file.

About

A service for syncing orestar records with the open elections db

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published