Learn R Programming

cryptoQuotes (version 1.3.0)

convert_date: 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)

Value

A vector of same length as x.

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

See Also

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