as_local_time: Use UTC time and timezone from '.its' file to calculate local...

Description Usage Arguments

View source: R/extract-helpers.R

Description

In .its files all timestamps are stores in UTC time the actual timezone is stored separately. This function converts the timestamps back to local time. Local times are stored with timezone UTC, regardless of the actual timezone. This is done for two resons: (1) So that "time of the day" can be compared across LENA recordings made in different timezones, without converting to a common time zone first. (2) Because time objects with different timezones cannot be stored in the same column of a data frame.

Usage

1
as_local_time(utc_time, local_tzs)

Arguments

utc_time

A vector of POSIXct object to convert to local time

local_tzs

A single local timezone to convert to or a vector of local timezones with the same length as utc_time


HomeBankCode/DarcleITS documentation built on April 14, 2020, 9:48 a.m.