View source: R/getEurostatRCV.R
getEurostatRCV | R Documentation |
Download a dataset from the eurostat database. The dataset is transformed into the molten / row-column-value format (RCV).
getEurostatRCV(kod = "educ_iste", ...)
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(). |
A dataset in the molten format with the last column 'value'.
Przemyslaw Biecek
Data is downloaded from http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing
website.
See Also as getEurostatTOC
, getEurostatRaw
, grepEurostatTOC
.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.