-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the qogdata wiki!
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.
- Jerven, Morten (2013), Poor Numbers. Cornell University Press.
- Rothstein, Bo (2011) The Quality of Government. University of Chicago Press.
- QOG Reading Recommendations (time series methodological articles)
- Here is a complete description of the xtdata specification attribute for data frames, with planned improvements.
- Here are the Stata do-file and R scripts to generate the QOG variable indexes and demo dataset bundled in the package.
- done, 0.1.1 fix dependencies
-
done, 0.1.1 let
xtdiscover multiple panel data types -
done, 0.1.1 let
xtcountrydiscover additional identifiers -
done, 0.1.1 let
xtmapaccept other formats thaniso3n -
done, 0.1.1
xtsubsetto subset panel data while preservingxtdataattribute -
done, 0.1.1 code
xttseandxtdecayas in time-since-event and decay functions -
done, 0.1.2, make
xtlagandxtleadrobust toklarger than the series -
done, 0.1.3 enhance
xtplotto work on subsets and with tons ofgeoms -
done, 0.1.4 fix
xtmapwhen using facets and/or quantized time periods -
planned, 0.1.5-0.1.7 code
xtdes,xtsum,xttabStata equivalents -
planned, 0.1.8 code
findinutils:- minimally look for
regexin variable names - look for
foreignandmemiscattributes and look forregexin variable labels - build a table of results that includes
n, and forxtdatadatasets,t,ts.min,ts.max - accept
tandlabels(overridesxtdataand defaults toNULL)
- minimally look for
-
planned, 0.1.9 code
qoglabelfor getting QOG value labels -
planned, 0.2.0 idea: recode better indexes
- get Stata variable labels from R after importing with
foreign - add value label column and label and label table
- make
qogfindsearch the first andqoglabelsearch the second
- get Stata variable labels from R after importing with
-
planned, 0.3 code
get_eurostatto get Eurostat national and regional data -
planned, 0.3 let
xtmapplot maps of the US based onstateandstate.fips -
planned, 0.3 let
xtmapplot maps offrance(subset NUTS-2regionto French ones) -
planned, 0.3 code
xtregionto handle NUTS regional codes (http://christophergandrud.github.io/DataCombine/) - idea: code something like
dataRepinHmisc - idea: support
simcf(Zelig simulations for TSCS models) - idea: add export to DataPackage format, using RJSONIO
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.