Description Usage Arguments Examples
View source: R/iso8601chartime2POSIX.R
To avoid ambiguities when sharing and comparing timestamps. All timestamps are expressed in iso8601 format: https://en.wikipedia.org/wiki/ISO_8601 However, to generate plots in R we need to convert them back to POSIX
1 | iso8601chartime2POSIX(x,tz)
|
x |
Vector of timestamps in iso8601 in character format |
tz |
Timezone of data collection, e.g. "Europe/London". See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for full list |
1 2 3 | x ="2017-05-07T13:00:00+0200"
tz = "Europe/Amsterdam"
x_converted = iso8601chartime2POSIX(x,tz)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.