Description Usage Arguments Value Examples
View source: R/download_treenet.R
download_treenet
loads L0, L1 or L2
dendrometer data from
the TreeNet or Decentlab server.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
site |
character, specify the site. String is not case sensitive. |
sensor_name |
character, specify the name of a single or
multiple sensors (e.g. |
sensor_class |
character, specify a single or multiple sensor
classes. String does not have to contain the full name of the sensor
class, i.e. |
from |
character, optional argument to select data after a specific
date ( |
to |
character, optional argument to select data up to a specific
date ( |
bind_df |
logical, indicate whether data should be returned as a
|
server |
character, specify server from which data is downloaded.
Can be either |
data_format |
character, select processing level of data. Can either
be |
data_version |
character, optional argument specifying the package
version number. If provided, |
path_cred |
optional argument to specify the full path to the
file |
export |
logical, indicate whether each sensor will be saved as
an |
last |
numeric, optional argument to specify the number of latest
values. If |
tz |
specify the desired time zone. Default is |
use_intl |
logical, specify whether this function is used
internally on the server. Changes |
If export = TRUE
each sensor is saved as an
.RData
-file to the current working directory. Else,
export = FALSE
data will be returned to the console either as a
data.frame
(bind_df = TRUE
), or as a list
with each
sensor as a list element (bind_df = FALSE
).
1 2 3 4 5 | ## Not run:
download_treenet(site = "lens", export = TRUE, bind_df = FALSE,
server = "decentlab")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.