If an archive of pre-generated data files is available locally,
users can set the location of this directory withsetArchiveBaseDir()
.
Otherwise, users must specify an external source of pre-generated datafiles
with setArchiveBaseUrl()
.
To avoid internet latency, specification of BASE_DIR will always take precedence over specification of BASE_URL.
Package functions that load pre-generated data files will load data from this directory. These functions include:
pas_load()
pat_load()
pat_loadLatest()
pat_loadMonth()
sensor_load()
sensor_loadLatest()
sensor_loadMonth()
Directory string.
getArchiveBaseDir
setArchiveBaseDir
setArchiveBaseUrl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.