qogbook: Download Quality of Government codebooks

Description Usage Arguments Details Author(s) See Also Examples

Description

Function to download Quality of Government (QOG) codebooks. Please visit the QOG Institute website at http://www.qog.pol.gu.se/ for a presentation of QOG research.

Usage

1
2
  qogbook(file = FALSE, version = "std", path = "",
    replace = FALSE)

Arguments

file

a filename to save the codebook at. If set to TRUE, the name of the codebook on the QOG server will be used. If set to FALSE (the default), the function only returns the link to the dataset. The filename must end in .pdf.

replace

whether to download the dataset even if a file already exists at the download location. Defaults to FALSE.

path

a folder path to append to the filename.

version

the QOG version: std (Standard), soc (Social Policy), bas (Basic) or exp (Expert). Defaults to std.

Details

The function mimics Richard Svensson's qogbook Stata command.

Author(s)

Francois Briatte f.briatte@ed.ac.uk

See Also

qogdata

Examples

1
2
3
4
5
6
# Show the URL to the QOG Standard dataset codebook.
qogbook()
## Download QOG Standard codebook with default filename (not run).
# qogbook(file = TRUE)
## Download QOG Basic dataset codebook to specific filename (not run).
# qogbook(file = "qog.basic.codebook.pdf", version = "bas")

briatte/qogdata documentation built on May 13, 2019, 7:43 a.m.