getEurostatRCV {SmarterPoland} | R Documentation |
Download a Dataset from the Eurostat Database
Description
Download a dataset from the eurostat database. The dataset is transformed into the molten / row-column-value format (RCV).
Usage
getEurostatRCV(kod = "educ_iste", ...)
Arguments
kod |
A code name for the data set of interested. See the table of contents of eurostat datasets for more details. |
... |
Other parameters that are passed to getEurostatRaw(). |
Value
A dataset in the molten format with the last column 'value'.
Author(s)
Przemyslaw Biecek
References
Data is downloaded from http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing
website.
See Also
See Also as getEurostatTOC
, getEurostatRaw
, grepEurostatTOC
.
Examples
## Not run:
tmp <- getEurostatRCV(kod = "educ_iste")
head(tmp)
t1 <- getEurostatRCV("rail_ac_catvict")
tmp <- cast(t1, geo ~ time , mean, subset=victim=="KIL" &
pers_inv=="TOTAL" & accident=="TOTAL")
tmp3 <- tmp[,1:9]
rownames(tmp3) <- tmp3[,1]
tmp3 <- tmp3[c("UK", "SK", "FR", "PL", "ES", "PT", "LV"),]
matplot(2005:2012,t(tmp3[,-1]), type="o", pch=19, lty=1,
las=1, xlab="", ylab="", yaxt="n")
axis(2,tmp3[,9], rownames(tmp3), las=1)
## End(Not run)
[Package SmarterPoland version 1.8.1 Index]