Skip to content
This repository was archived by the owner on Jun 24, 2019. It is now read-only.
François edited this page Aug 6, 2013 · 31 revisions

Welcome to the qogdata wiki!

Purpose

The xtdata package aims at providing some helper functions to users working with Quality of Government (QOG) datasets, especially with regards to merging different country-year cross-sectional time series. The package allows the user to download data from the QOG data server and from several sources, as well as to merge, plot or subset it according to the specifications of the xtdata data frame attribute.

Readings

Technical

TODO

  • let xt discover multiple panel data types
  • let xtcountry discover additional identifiers
  • let xtmap accept other formats than iso3n
  • let xtmap plot maps of the US based on state and state.fips
  • let xtmap plot maps of france (subset NUTS-2 region to French ones)
  • code xtregion to handle NUTS regional codes
  • code xtdes, xtsum, xttab Stata equivalents
  • code xtsubset to subset panel data while preserving full time series
  • code get_eurostat to get Eurostat national and regional data
  • code qoglabel for getting QOG value labels
  • code xtlag and xtlead as in DataCombine
  • code xttse and xtdecay as in time-since-event and decay functions
  • code xtfind
    • read xt(data)$labels or look for foreign and memisc attributes
    • build a table of results that includes ts.min, ts.max, t, n
  • idea: support simcf (Zelig simulations for TSCS models)

Further inspiration

The get functions and xtdata specification for panel data were inspired by Anthony J. Damico's usgd repository of scripts for survey analysis, Zack M. Alquist's R packages for the U.S. Census, and by other R packages to work with survey data. The qogdata package is an effort to bring similar tools to country-level panel data users.

Clone this wiki locally