Exports fugazibase's data/*.rda objects from Repeatr's own cleaned data
Source:R/export_fugazibase_data.R
export_fugazibase_data.RdComposes fugazibase's six published tables (shows,
locations, durations, discography, songs, bands) from Repeatr's
own already-saved data/*.rda objects (the "Derived-cleaned" tier
produced by Repeatr_1, which already includes the
price/currency split and the Brazilian/NA-standardized subdivision
values) and from inst/extdata/fls_venue_geocoding_v2.csv directly - no
re-derivation or new business logic, just selecting, renaming, and
joining columns Repeatr itself already computed. Also runs basic
integrity checks (no missing/duplicate id columns) on each table just
before it's written, aborting the export if any fail. Writes each table
as a data/*.rda (lazy-loadable) file directly into a local fugazibase
checkout. Does not commit or push anything in that checkout - review and
commit fugazibase's changes separately.
Excludes anything joined/summarized/modeled (e.g. xray,
duration_summary, Repeatr1, and everything from Repeatr_2
onward) and the copyrighted free-text show notes (fls_notes, scraped
from the Fugazi Live Series site - see fugazibase's own LICENSE) - see
vignette("Data-Provenance") for the full tier catalogue.
Arguments
- fugazibase_dir
Path to a local
fugazibasecheckout. Required - there is no default, so a caller's own local path is never hardcoded here.- repeatr_data_dir
Optional directory to read Repeatr's own already- saved
data/*.rdaobjects from. If omitted, defaults todata/under the current working directory (the package root, after aRepeatr_Updatrrun).