load_index | R Documentation |
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. The function also checks to see if there are any user modifications to the directory structure.
load_index()
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.
Returns NULL invisibly - use get_index() to obtain the index data.
load_location_aliases
,
load_gazetteer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.