Improve the speed of functions by avoiding the use of 'read.table'
The following functions use read.table()
to load internal data from .csv
files:
-
.get_http_error()
: httpstatus.csv -
.label_meta()
: metadata_labels.csv -
.label_prod()
: producer_labels.csv -
.label_thld()
: threshold_labels.csv
It is possible to improve the speed of these functions by storing the needed data.frame
in a R/sysdata.rda
file, so they can be lazy-loaded on demand.