Title: | Colombian Macro-Financial Time Series Generator |
---|---|
Description: | This repository aims to contribute to the econometric models' production with Colombian data, by providing a set of web-scrapping functions of some of the main macro-financial indicators. All the sources are public and free, but the advantage of these functions is that they directly download and harmonize the information in R's environment. No need to import or download additional files. You only need an internet connection! |
Authors: | Pedro Alejandro Cabra-Acela [aut, cre]
|
Maintainer: | Pedro Alejandro Cabra-Acela <[email protected]> |
License: | Apache License 2.0 |
Version: | 0.1.0 |
Built: | 2025-01-19 02:44:19 UTC |
Source: | https://github.com/cran/macrocol |
Function to extract the price and volume time series of some Colombian assets from the "Bolsa de Valores de Colombia" (BVC). If it takes more than 5 minutes is because the BVC's Server is not correctly working and it is better to try later.
get.Acciones(accion = "BCOLOMBIA", verbose = FALSE)
get.Acciones(accion = "BCOLOMBIA", verbose = FALSE)
accion |
The asset's ticket.
|
verbose |
print the dates already extracted. Default FALSE. Default is "BCOLOMBIA". |
The dataframe with dates and the asset prices and volume.
## Not run: BCOLOMBIA <- get.Acciones("BCOLOMBIA"); ECOPETROL <- get.Acciones("ECOPETROL"); EXITO <- get.Acciones("EXITO"); AVIANCA <- get.Acciones("AVIANCA"); ## End(Not run)
## Not run: BCOLOMBIA <- get.Acciones("BCOLOMBIA"); ECOPETROL <- get.Acciones("ECOPETROL"); EXITO <- get.Acciones("EXITO"); AVIANCA <- get.Acciones("AVIANCA"); ## End(Not run)
Function to extract the Colcaptime serie from the Colombian Central Bank.
get.Colcap()
get.Colcap()
The dataframe with dates and the Colcap.
## Not run: colcap <- get.Colcap(); ## End(Not run)
## Not run: colcap <- get.Colcap(); ## End(Not run)
Function to extract the nominal IBR rate time serie from the Colombian Central Bank.
get.IBR(nom = "ON")
get.IBR(nom = "ON")
nom |
The interest rate period.
Default is "ON". |
The dataframe with dates and the IBR.
## Not run: ON <- get.IBR("ON"); M1 <- get.IBR("1M"); M3 <- get.IBR("3M"); M6 <- get.IBR("6M"); ## End(Not run)
## Not run: ON <- get.IBR("ON"); M1 <- get.IBR("1M"); M3 <- get.IBR("3M"); M6 <- get.IBR("6M"); ## End(Not run)
Function to extract the Colombian CPI time serie from the Colombian Central Bank.
get.IPC()
get.IPC()
The dataframe with dates and the Colombian CPI.
## Not run: IPC <- get.IPC(); ## End(Not run)
## Not run: IPC <- get.IPC(); ## End(Not run)
Function to extract the Colombian unemployment rate time serie from the Colombian Central Bank.
get.TasaDesempleoCol()
get.TasaDesempleoCol()
The dataframe with dates and the Colombian Unemployment Rate.
## Not run: unemp <- get.TasaDesempleoCol(); ## End(Not run)
## Not run: unemp <- get.TasaDesempleoCol(); ## End(Not run)
Function to extract the Colombian Central Bank's Policy Rate time serie from the Colombian Central Bank.
get.TasaIntBanRep()
get.TasaIntBanRep()
The dataframe with dates and the Policy Rate.
## Not run: intRate <- get.TasaIntBanRep(); ## End(Not run)
## Not run: intRate <- get.TasaIntBanRep(); ## End(Not run)
Function to extract the TRM (COP/USD) time serie from the Colombian Financial Supervision Office.
get.TRM()
get.TRM()
The dataframe with dates and the TRM.
## Not run: TRM <- get.TRM(); ## End(Not run)
## Not run: TRM <- get.TRM(); ## End(Not run)