Base URL for the local-first CSV directory
Optional remote fallback URL (e.g. raw.githubusercontent.com mirror); empty string disables fallback
Path relative to csvBaseURL
OptionalfallbackPath: stringOptional path on the fallback host (defaults to localPath)
Parsed CSV rows; [] when no source returned data
Load a CSV with local-first fallback.
Tries
joinURL(csvBaseURL, localPath)first. If the response is non-OK or yields zero rows, falls back tojoinURL(fallbackURL, fallbackPath ?? localPath)when afallbackURLis provided. Network errors are logged as warnings rather than thrown so the page can degrade gracefully when offline.URL joining is tolerant of missing trailing slashes on the base URL and leading slashes on the path; callers do not need to worry about the slash boundary.