https://github.com/abrie/usda-csa-scraper
Scrapes the USDA Community Supported Agriculture database.
https://github.com/abrie/usda-csa-scraper
Last synced: 3 months ago
JSON representation
Scrapes the USDA Community Supported Agriculture database.
- Host: GitHub
- URL: https://github.com/abrie/usda-csa-scraper
- Owner: abrie
- Created: 2020-03-19T00:58:09.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-19T01:17:58.000Z (about 5 years ago)
- Last Synced: 2025-01-24T23:27:13.450Z (5 months ago)
- Language: Python
- Homepage: https://abrie.github.io/usda-csa-scraper
- Size: 1.25 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## USDA Market Scraper
This tool scrapes the USDA Community Supported Agriculture database of [farmer's markets](https://search.ams.usda.gov/farmersmarkets/) and [on-farm markets](https://search.ams.usda.gov/onfarmmarkets/). The results are merged into either CSV or JSON.
Pre-scraped copies of the data are [available here](https://abrie.github.io/usda-csa-scraper).
## Requirements
jq, yarn, python3, curl, make
## Run
- `source bin/activate` : Activate python3 virtual environment.
- `yarn install` : Install dependencies.
- `make all`: Scrape, process, and merge.
- Results are stored in `out/merged/merged.csv` and/or `out/merged/merged.json`