convert_date: Convert dates passed to UNIX

View source: R/helper.R

convert_dateR Documentation

Convert dates passed to UNIX

Description

This function converts dates to UNIX time if passed to the API, and converts it to POSIXct from API

Usage

convert_date(x, multiplier)

Arguments

x

a numeric vector, or date-type object

multiplier

numeric

Details

If x is numeric, then the function assumes that its a return value

Value

A vector of same length as x.

See Also

Other development tools: GET(), chart_layout(), default_dates(), fetch(), flatten(), is.date()


cryptoQuotes documentation built on April 4, 2025, 2:33 a.m.