R: Tools for Accessing Various Datasets Developed by the...
SmarterPoland-package
R Documentation
Tools for Accessing Various Datasets Developed by the Foundation SmarterPoland.pl
Description
Tools for accessing and processing datasets prepared by the Foundation SmarterPoland.pl. Among all: access to API of Google Maps, Central Statistical Office of Poland, Eurostat, WHO and other sources.
## Not run:
# download the dataset 'Pupil/Student - teacher ratio and average class' from eurostat
# for more developed API see https://github.com/rOpenGov/eurostat
tmp <- getEurostatRCV(kod = "educ_iste")
head(tmp)
# download the dataset 'People killed in road accidents' from eurostat
# and plot a maptable for selected countries
# for more developed API see https://github.com/rOpenGov/eurostat
library(ggplot2)
t1 <- getEurostatRCV("tsdtr420")
t1 <- t1[t1$geo
ggplot(t1, aes(time, value, color=sex, group=sex)) +
geom_line() + facet_wrap(~geo)
## End(Not run)