Download latest datasets from the Quality of Government Institute using the function read_qog(). See ?read_qog for help, package vignette for more examples and data.markuskainu.fi/qog/ for interactive metadata.

Installation

devtools::install_github("ropengov/rqog")

Use

Download data

library(rqog)
dat <- read_qog(which_data = "standard")

Browse metadata

Plot an indicator

library(ggplot2)
ggplot(dat[!is.na(dat$undp_hdi),], 
       aes(x = year, y = undp_hdi, color = cname)) + 
  geom_line() + theme(legend.position = "none")

Copyright (C) 2012-2019 Markus Kainu . MIT-licence.

Disclaimer

This package is in no way officially related to or endorsed by Quality of Government Institute.