get_prices: Fetch price data from Amazon

Description Usage Arguments Details Value Examples

View source: R/precios.R

Description

Construct a mysql query for the selected dates and ids from the Amazon prices database

Usage

1
get_prices(fecha = NULL, id = NULL)

Arguments

fecha

A vector of dates that can be of class character or Date but in the format aaaa-mm-dd

id

A character vector with id list to query

Details

This function will return a data.frame with a column per id and date rows

Value

A data.frame with the prices of the given ids in the selected dates.

Examples

1
get_prices(date_seq("2015-12-31/"), c("1ispy_", "1ishv_"))

optimist/inhouse documentation built on May 24, 2019, 3:56 p.m.