Learn R Programming

comtradr (version 0.2.1)

ct_get_reset_time: Comtradr rate limit time check

Description

Get the time in which the hourly limit will reset.

Usage

ct_get_reset_time()

Arguments

Value

date and time in which the hourly query limit will reset. Return is a "POSIXct" object (see DateTimeClasses).

Examples

Run this code
# NOT RUN {
ct_get_reset_time()

# Get minutes remaining until limit reset, as numeric value.
as.double(ct_get_reset_time() - Sys.time())
# }

Run the code above in your browser using DataLab