convert_to_local_time {riingo} | R Documentation |
Convert the POSIXct
columns of a data frame to the local time zone
Description
Tiingo returns data with a UTC time zone. Often you will want to view this
in your own time zone. This function converts each POSIXct
column of the
returned tibble
to the local (or specified) time zone.
Usage
convert_to_local_time(.data, tz = "")
Arguments
.data |
A tibble with |
tz |
The time zone to convert to. The default is the local time zone. |
[Package riingo version 0.3.1 Index]