Learn R Programming

stoRy (version 0.2.2)

fetch_lto_file: Download LTO JSON files to cache

Description

[Maturing]

fetch_lto_file() downloads LTO version JSON files hosted on the Theme Ontology website at https://www.themeontology.org/data to cache.

Usage

fetch_lto_file(file_name, verbose = TRUE, overwrite_json = FALSE)

Arguments

verbose

A logical value indicating whether status messages should be output to console.

overwrite_json

A logical value indicating whether previously downloaded JSON files (if any) should be re-downloaded and overwritten.

Details

This function is called internally by the configure_lto() package function. Use it directly at your own risk.

Examples

Run this code
if (FALSE) {
# Download and cache an LTO developmental version JSON file:
fetch_lto_file(file_name = "lto-dev-collections.json", overwrite_json = TRUE)
}

Run the code above in your browser using DataLab