convert_date {cryptoQuotes}R 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(), default_dates(), fetch(), flatten(), is.date()


[Package cryptoQuotes version 1.3.0 Index]