SmarterPoland-package | R Documentation |
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.
Author: Przemyslaw Biecek Maintainer: Przemyslaw Biecek <przemyslaw.biecek@gmail.com>
getMillwardBrown
,
getEurostatRCV
,
getBDLseries
,
getWeatherForecast
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.