Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ citmre Public

❗ This is a read-only mirror of the CRAN R package repository. citmre — Colombian Index Tool Market Rate Exchange. Homepage: https://github.com/DavRodEcon/citmrehttps://davrodecon.github.io/citmre/ Report bugs for this package: https://github.com/DavRodEcon/citmre/issues

License

Notifications You must be signed in to change notification settings

cran/citmre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

citmre

Lifecycle: experimental

Downloads the Representative Market Rate Exchange (RMRE) from the <www.datos.gov.co> source. Allows setting the data series in time frequencies, splitting the time series through start and end functions, transforming the data set in log returns or levels, and making a Dynamic graph.

Installation

You can install the development version of citmre from: GitHub

install.packages("citmre")
devtools::install_github("DavRodEcon/citmre")

Example

library(citmre)
# Show full series dataset
rmre_serie <- rmre_data()

# Show monthly dataset with Plotly Graph
rmre_splited <- rmre_data(frequency = 12, log_return = F, plot_data = T)

# Show quaterly log_return dataset with Plotly Graph
rmre_splited <- rmre_data(frequency = 4, log_return = T, plot_data = T, type = "mean")

# Show splited log return dataset
rmre_splited <- rmre_data("2000-01-01", "2023-12-31", log_return = TRUE)
#> Warning in doTryCatch(return(expr), name, parentenv, handler): start_date:The
#> information will be obtained from the next business day, as the desired date is
#> a holiday or weekend.
#> Warning in doTryCatch(return(expr), name, parentenv, handler): end_date: The
#> information will be obtained from the next business day, as the desired date is
#> a holiday or weekend.

# plot
plot(rmre_serie)

References

Source: Portal de Datos Abiertos <www.datos.gov.co>

About

❗ This is a read-only mirror of the CRAN R package repository. citmre — Colombian Index Tool Market Rate Exchange. Homepage: https://github.com/DavRodEcon/citmrehttps://davrodecon.github.io/citmre/ Report bugs for this package: https://github.com/DavRodEcon/citmre/issues

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages