download_OSD | R Documentation |
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, ...)
url |
Path to OSD Data Snapshot |
... |
Additional arguments to 'curl::curl_download()' |
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.
TRUE if successful, try-error if download or parsing fails
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.