load_index: Load and cache the dataset index

Description Usage Details Value See Also

View source: R/index.R


This function loads the dataset record index from the JSON file in the SAFE data directory and sets which datasets are currently available and which records are the most recent available under a given concept.




When any of the three index files (index.json, gazetteer.geojson and location_aliases.csv) are loaded, the file contents are cached in memory to reduce load times. The cache is within an environment that is not exported in the package namespace and is not intended to be user accessible.


A data frame containing the dataset index details.

See Also

load_location_aliases, load_gazetteer

ImperialCollegeLondon/safe_data documentation built on Jan. 29, 2020, 10:19 p.m.