Restore source downloader in R

This commit is contained in:
Armin
2026-06-15 17:45:03 +02:00
parent dad75063fc
commit 9b925f340f
6 changed files with 265 additions and 25 deletions
+8 -5
View File
@@ -100,14 +100,17 @@ the underlying raw source data.
See `data-setup/source_manifest.csv` for a machine-readable source checklist.
## Source access status
## Scripted download status
The public repository does not include an automatic source downloader. Obtain
source files directly from the providers under their terms and place them in the
documented local raw-data layout before running the rebuild checks.
`data-setup/R/01_download_sources.R` downloads sources that are script-accessible
under provider terms: PolDem, PartyFacts, CHES family files where provider links
are live, POPPA from Harvard Dataverse, GPS from Harvard Dataverse, Manifesto
with user credentials, and V-Party through the provider form when
`PARTY2D_VDEM_EMAIL` is set.
The Manifesto Project main dataset requires Manifesto Project access/API
credentials from the provider.
credentials from the provider. Set `MANIFESTO_API_KEY` or
`PARTY2D_MANIFESTO_API_KEY` for scripted download.
The Morgan historical file is a local OCR/transcription source from Morgan
(1976), not a public provider download. It can be provided on request and must be