View source: R/smet-function.R
smet | R Documentation |
Function to read a a SMET file
smet(
file = NULL,
numeric = TRUE,
non_numeric_fields = NULL,
timezone.offset.sign = c("negative", "positive", "-", "+"),
date.field = "timestamp",
date.format = "%Y-%m-%dT%H:%M:%S",
comment = "#",
station.field = "station_id",
...
)
file |
SMET file name |
numeric |
logical value |
non_numeric_fields |
fields, except |
timezone.offset.sign |
It can be |
date.field |
field neme used for date and time. Default is |
date.format |
format used for date and time. Default is |
comment |
character symbol used to comment lines or part of lines. Default is |
station.field |
field name used for station ID. Default is |
... |
further arguments |
To better understand the use of timezones in R (tz
attribute) see the following link:
http://stackoverflow.com/questions/11927433/timezones-in-r-how-to-avoid-ambiguous-terms-such-as-est
a smet-class
object
smet-class
file <- system.file("examples/test.smet",package="RSMET")
sm <- smet(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.