Description Usage Arguments Details Value Examples
Construct a mysql query for the selected dates and contrato and sends it to the sql database posiciones
1 | get_position(fecha, contrato = NULL)
|
fecha |
A vector of dates that can be of class character or Date but is expected to be in the format aaaa-mm-dd |
contrato |
A character or integer vector with the number of contratos |
This function will return a data.frame with holdings information from one or several dates When no contrato is given, it will fetch the information of every contrato
A data.frame with the holding of the given contratos in the selected dates. If no contrato is given, it will return the information of every contrato.
1 2 | get_position("2015-12-31")
get_position("2015-12-31", contrato = "25774")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.