This R package can be used to retrieve the European Commission AMECO database.
The code behind this package also serves as a backend to an EViews add-in created by the author.
The package can retrieve the:
To cite the ECAMECO package in publications, use:
Graeme Walsh (2018). ECAMECO R package version 0.1.0.
To install the package, use the devtools package as follows:
install.packages("devtools")
library(devtools)
install_github(repo="xprimexinverse/ECAMECO")
If you have trouble installing the package using devtools, here is a second method.
If you're really stuck, you can load the functions in the package as follows:
source("https://raw.githubusercontent.com/xprimexinverse/ECAMECO/master/R/ECAMECO.R")
Begin by loading the package and reading some of the man pages:
library(ECAMECO)
?ECAMECO
?getECAMECO
To quickly get a feel for how the package works, run the following examples.
The first example shows how to retrieve the latest version of the AMECO database. The database is returned as a dataframe object.
# Example 1
AMECO <- getECAMECO()
class(AMECO)
names(AMECO)
The second example demonstrates how to get the URLs to the vintages of the database.
# Example 2
Vintage_URLs <- getVitageURLs()
The third example shows how to retrieve one of the vintage databases.
# Example 3
AMECO_vintage <- getECAMECO(url = Vintage_URLs[1])
class(AMECO_vintage)
names(AMECO_vintage)
Please contact me at graeme.walsh@centralbank.ie or graeme.walsh@hotmail.co.uk
This is the first release of the package. Future plans include adding helper functions for extracting variables from the dataset.
I have no affiliation with the European Commission. This package is not official software of the European Commission nor is the package endorsed by the European Commission.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.