get_time_zone: Function to get time zone information from a date, latitude,...

View source: R/get_time_zone.R

get_time_zoneR Documentation

Function to get time zone information from a date, latitude, and longitude triad from https://timezonedb.com/api.

Description

To use this function an API key is needed from https://timezonedb.com.

Usage

get_time_zone(list, key, sleep = 1, verbose = FALSE, progress = FALSE)

clean_time_zone_table(df)

Arguments

list

List or data frame containing at least date, latitude, and longitude elements or variables.

key

timezonedb.com API key.

sleep

Number of seconds to sleep between API queries. One second between queries is needed when a non-paid version of the API is being used.

verbose

Should the function give messages?

progress

Should a progress bar be displayed?

df

Data frame/tibble return from get_time_zone.

Value

Tibble.

Author(s)

Stuart K. Grange


skgrange/systemr documentation built on April 18, 2024, 2:23 a.m.