Description Usage Arguments Details Value Examples
View source: R/build-realtime.R
The build of real-time data is split into multiple steps that allow certain types of changes to be applied without unnecessary loading of files. In the code these are split into "read" and "write" functions.
1 | bs_build_realtime(out_dir = ".")
|
out_dir |
The directory in which output files should be generated. |
Read functions are concerned with taking raw data files and filtering
out data that is corrupted or otherwise unreadable. These functions also
check for new files and download them if they aren't present locally.
These functions add to the previously calculated version present in the
build cache, which keeps the processing time to a minimum and keeps the
build logs from being cluttered with parse errors from unreadable files
that have already been parsed months ago. Note that the value of
bs_cache_dir()
and bs_build_cache_dir()
are used to determine where
FTP downloads and intermediary build files are stored.
Whereas the output of read functions is generally stable, methods to flag bad measurements and perform corrections that require data from multiple sensors can and should be updated frequently. In the code these are grouped as "write" functions. These calculations are rarely expensive and thus the result is not cached.
out_dir
, invisibly.
1 2 3 4 | ## Not run:
bs_build_realtime()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.