This is an internal method for downloading the latest snapshot (or sample ZIP) containing Official Series Description (OSD) text files in an alphabetical folder structure. These files are un-zipped and processed into JSON which is stored in "inst/extdata/OSD"

download_OSD(url = NULL, ...)

Arguments

url

Path to OSD Data Snapshot

...

Additional arguments to `curl::curl_download()`

Value

TRUE if successful, try-error if download or parsing fails

Details

Default path to OSD data snapshot is an "artifact" created by the refresh-osd workflow on the OSDRegistry GitHub Repository.

The latest version of the snapshot can be downloaded as a ZIP file from this URL: https://github.com/ncss-tech/OSDRegistry/releases/download/main/OSD-data-snapshot.zip.

Note: This is a ZIP file within a ZIP file where the internal ZIP file has a unique (weekly) date stamp.