fetch_lto_file: Download LTO JSON files to cache

View source: R/lto.R

fetch_lto_fileR Documentation

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

## Not run: 
# Download and cache an LTO developmental version JSON file:
fetch_lto_file(file_name = "lto-dev-collections.json", overwrite_json = TRUE)

## End(Not run)

stoRy documentation built on July 9, 2023, 7:46 p.m.