Data from the Alaska Public Offices Commission.
Project description
APOC Data
Data from the Alaska Public Offices Commission.
This scrapes the CSV files from the APOC website once a day and uploads them to this repo's releases.
Download
You can download these CSVs using the direct URLs from the releases page using curl, pandas, ibis, whatever!
curl -L https://github.com/NickCrews/apoc-data/releases/download/20240716-025636/candidate_registration.csv > candidate_registration.csv
or we have a tiny python script that makes this a little nicer, eg get the latest release, choose the download directory, etc. Read the script for more info.
curl -s https://raw.githubusercontent.com/NickCrews/apoc-data/main/src/apoc_data/download.py | python - --release latest
Dev Notes
pdm install
playwright install chromium
scrape:
python -m apoc_data.scrape --directory downloads --no-headless
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
apoc_data-0.1.0.tar.gz
(6.1 kB
view details)
Built Distribution
File details
Details for the file apoc_data-0.1.0.tar.gz
.
File metadata
- Download URL: apoc_data-0.1.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.16.1 CPython/3.12.4 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaea90f49053516dce5c7a3baff8f41f9129a95cb540d3dd6b157aafe4c22920 |
|
MD5 | dc3cceb55114ba1f8a05b23ecf27a33c |
|
BLAKE2b-256 | b80e72905d79b0acda41871fbed24cee8de89633a8b41e1bc011c66f432632c0 |
File details
Details for the file apoc_data-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: apoc_data-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.16.1 CPython/3.12.4 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa44780215f37bcadc977e639fcb150b98e471ee1839d25ddff52c580b870652 |
|
MD5 | a425d5e3805e964a609ab312d7a1b881 |
|
BLAKE2b-256 | aeb395b3774cf3f7cd5850c78ccc539e6a0d8b5e263f30718fc4bba2b17a6cf9 |