USDA NASS analysis of Georgia blueberry and peach production, acreage, rankings, and county geography.
README generated: 2026-09-04
Is Georgia really the Peach State? Or is it now the Blueberry State? How does Georgia's modern blueberry industry compare with its traditional peach industry? Those are questions I wanted to answer for my Atlanta Journal-Constitution colleague Olivia Wakim for her May 2026 story on Georgia blueberries.
Users will need an API key from the U.S. Department of Agriculture's National Agricultural Statistics Service (NASS) to use this code. The code assumes the key is saved as NASS_API_KEY in the user's .Renviron file. Getting a key is free -- sign up for one at this link.
- USDA National Agricultural Statistics Service (NASS) Quick Stats
- USDA Census of Agriculture
- U.S. Census Bureau TIGER/Line county boundaries via tigris
config.R
R/
scripts/
data_raw/
data_clean/
exports/
outputs/
docs/
logs/
- 00_run_all.R
- 01_download_nass_data.R
- 02_clean_production_data.R
- 03_georgia_production_analysis.R
- 04_county_blueberry_map.R
- 05_acreage_analysis.R
- 06_bump_charts.R
- 07_reporter_brief.R
- 08_data_dictionary.R
- 09_build_readme.R
- functions_charts.R
- functions_maps.R
- functions_nass.R
- functions_qa.R
- Georgia production comparison charts
- State ranking charts
- Bump charts
- County blueberry acreage map
- GeoJSON exports
- Reporter brief
- Data dictionaries
- Duplicate detection
- Missing value audits
- Map join validation
- Production-series review
- Reproducible exports and logs
Open the .Rproj, add NASS_API_KEY to .Renviron, then run scripts/00_run_all.R from the project root. The runner stops on the first failed stage and writes a log and CSV summary to logs/.
If the raw downloads already exist, scripts 02 through 09 can be rerun without making another API request.
peeblestoolboxsupplies the chart and map themes, review watermark, plot saver, Georgia county boundaries, and WGS84 GeoJSON export.docs/production_exclusions.csvaccounts for selected production records excluded because USDA values were missing or suppressed.- County map QA distinguishes published values, missing or suppressed values, and counties with no USDA record. Gray does not mean zero.
docs/reporter_brief.mdis generated as a deterministic Mad-Lib from current outputs.
- Wild blueberries are excluded from production analysis.
- Peach production is commonly reported in tons while blueberry production is reported in pounds.
- Acreage comparisons depend on USDA reporting availability.
This project uses a number of R packages, including the tidyverse family of packages created by Hadley Wickham et al and the tigris package created by Kyle Walker that downloads and works with U.S. Census Bureau TIGER/Line geographic files. I am also very grateful for packages including janitor and sf, among others. Thank you to the brilliant people behind these packages who wrote all the code and keep it maintained.
Jennifer Peebles / Atlanta Journal-Constitution
A note from JP: I built this project with help from ChatGPT/Codex, which drafted this README from the project's code, outputs and my instructions. I want to be transparent about the help I received.