Task view: Official Statistics & Survey Methodology

Last updated on 2020-12-20 by Matthias Templ

This CRAN task view contains a list of packages that include methods typically used in official statistics and survey methodology. Many packages provide functionality for more than one of the topics listed below. Therefore this list is not a strict categorization and packages can be listed more than once. Certain data import/export facilities regarding to often used statistical software tools like SPSS, SAS or Stata are mentioned in the end of the task view.

Complex Survey Design: Sampling and Sample Size Calculation

  • Package sampling includes many different algorithms (Brewer, Midzuno, pps, systematic, Sampford, balanced (cluster or stratified) sampling via the cube method, etc.) for drawing survey samples and calibrating the design weights.
  • R package surveyplanning includes tools for sample survey planning, including sample size calculation, estimation of expected precision for the estimates of totals, and calculation of optimal sample size allocation.
  • Package simFrame includes a fast (compiled C-Code) version of Midzuno sampling.
  • The pps package contains functions to select samples using pps sampling. Also stratified simple random sampling is possible as well as to compute joint inclusion probabilities for Sampford's method of pps sampling.
  • Package stratification allows univariate stratification of survey populations with a generalisation of the Lavallee-Hidiroglou method.
  • Package SamplingStrata offers an approach for choosing the best stratification of a sampling frame in a multivariate and multidomain setting, where the sampling sizes in each strata are determined in order to satisfy accuracy constraints on target estimates. To evaluate the distribution of target variables in different strata, information of the sampling frame, or data from previous rounds of the same survey, may be used.
  • The package BalancedSampling selects balanced and spatially balanced probability samples in multi-dimensional spaces with any prescribed inclusion probabilities. It also includes the local pivot method, the cube and local cube method and a few more methods.
  • Package PracTools contains functions for sample size calculation for survey samples using stratified or clustered one-, two-, and three-stage sample designs as well as functions to compute variance components for multistage designs and sample sizes in two-phase designs.

Complex Survey Design: Point and Variance Estimation and Model Fitting

  • Package survey works with survey samples. It allows to specify a complex survey design (stratified sampling design, cluster sampling, multi-stage sampling and pps sampling with or without replacement). Once the given survey design is specified within the function svydesign(), point and variance estimates can be computed. The resulting object can be used to estimate (Horvitz-Thompson-) totals, means, ratios and quantiles for domains or the whole survey sample, and to apply regression models. Variance estimation for means, totals and ratios can be done either by Taylor linearization or resampling (BRR, jackkife, bootstrap or user-defined).
  • The methods from the survey package are called from package srvyr using the dplyr syntax, i.e., piping, verbs like group_by and summarize, and other dplyr-inspired syntactic style when calculating summary statistics on survey data.
  • Package convey extends package survey -- see the topic about indicators below.
  • Package laeken provides functions to estimate certain Laeken indicators (at-risk-of-poverty rate, quintile share ratio, relative median risk-of-poverty gap, Gini coefficient) including their variance for domains and strata using a calibrated bootstrap.
  • Package simFrame allows to compare (user-defined) point and variance estimators in a simulation environment. It provides a framework for comparing different point and variance estimators under different survey designs as well as different conditions regarding missing values, representative and non-representative outliers.
  • The lavaan.survey package provides a wrapper function for packages survey and lavaan. It can be used for fitting structural equation models (SEM) on samples from complex designs. Using the design object functionality from package survey, lavaan objects are re-fit (corrected) with the lavaan.survey() function of package lavaan.survey. This allows for the incorporation of clustering, stratification, sampling weights, and finite population corrections into a SEM analysis. lavaan.survey() also accommodates replicate weights and multiply imputed datasets.
  • Package vardpoor allows to calculate linearisation of several nonlinear population statistics, variance estimation of sample surveys by the ultimate cluster method, variance estimation for longitudinal and cross-sectional measures and measures of change for any stage cluster sampling designs.
  • The package rpms fits a linear model to survey data in each node obtained by recursively partitioning the data. The algorithm accounts for one-stage of stratification and clustering as well as unequal probability of selection.
  • Package svyPVpack extends package survey. This package deals with data which stem from survey designs and has been created to handle data from large scale assessments like PISA, PIAAC etc..
  • Package weights provides a variety of functions for producing simple weighted statistics, such as weighted Pearson's correlations, partial correlations, Chi-Squared statistics, histograms and t-tests.

Complex Survey Design: Calibration

  • Package survey allows for post-stratification, generalized raking/calibration, GREG estimation and trimming of weights.
  • The calib() function in package sampling allows to calibrate for nonresponse (with response homogeneity groups) for stratified samples.
  • The calibWeights() function in package laeken is a possible faster (depending on the example) implementation of parts of calib() from package sampling.
  • Package icarus focuses on calibration and reweighting in survey sampling and was designed to provide a familiar setting in R for user of the SAS macro Calmar.
  • Package reweight allows for calibration of survey weights for categorical survey data so that the marginal distributions of certain variables fit more closely to those from a given population, but does not allow complex sampling designs.
  • The package CalibrateSSB include a function to calculate weights and estimates for panel data with non-response.
  • Package Frames2 allows point and interval estimation in dual frame surveys. When two probability samples (one from each frame) are drawn. Information collected is suitably combined to get estimators of the parameter of interest.

Editing and Visual Inspection of Microdata

Editing tools:

  • Package validate includes rule management and data validation and package validatetools is checking and simplifying sets of validation rules.
  • Package errorlocate includes error localisation based on the principle of Fellegi and Holt. It supports categorical and/or numeric data and linear equalities, inequalities and conditional rules. The package includes a configurable backend for MIP-based error localization.
  • Package editrules convert readable linear (in)equalities into matrix form.
  • Package deducorrect depends on package editrules and applies deductive correction of simple rounding, typing and sign errors based on balanced edits. Values are changed so that the given balanced edits are fulfilled. To determine which values are changed the Levenstein-metric is applied.
  • The package rspa implements functions to minimally adjust numerical records so they obey (in)equation restrictions.

Visual tools:

  • Package VIM is designed to visualize missing values using suitable plot methods. It can be used to analyse the structure of missing values in microdata using univariate, bivariate, multiple and multivariate plots where the information of missing values from specified variables are highlighted in selected variables. It also comes with a graphical user interface.
  • Package treemap provide treemaps. A treemap is a space-filling visualization of aggregates of data with hierarchical structures. Colors can be used to relate to highlight differences between comparable aggregates.


A distinction between iterative model-based methods, k-nearest neighbor methods and miscellaneous methods is made. However, often the criteria for using a method depend on the scale of the data, which in official statistics are typically a mixture of continuous, semi-continuous, binary, categorical and count variables. In addition, measurement errors may corrupt non-robust imputation methods. Note that only few imputation methods can deal with mixed types of variables and only few methods account for robustness issues.

EM-based Imputation Methods:

  • Package mi provides iterative EM-based multiple Bayesian regression imputation of missing values and model checking of the regression models used. The regression models for each variable can also be user-defined. The data set may consist of continuous, semi-continuous, binary, categorical and/or count variables.
  • Package mice provides iterative EM-based multiple regression imputation. The data set may consist of continuous, binary, categorical and/or count variables.
  • Package mitools provides tools to perform analyses and combine results from multiply-imputed datasets.
  • Package Amelia provides multiple imputation where first bootstrap samples with the same dimensions as the original data are drawn, and then used for EM-based imputation. It is also possible to impute longitudinal data. The package in addition comes with a graphical user interface.
  • Package VIM provides EM-based multiple imputation (function irmi()) using robust estimations, which allows to adequately deal with data including outliers. It can handle data consisting of continuous, semi-continuous, binary, categorical and/or count variables.
  • Single imputation methods are included or called from other packages by the package simputation. It supports regression (standard, M-estimation, ridge/lasso/elasticnet), hot-deck methods (powered by VIM), randomForest, EM-based, and iterative randomForest imputation.
  • Package mix provides iterative EM-based multiple regression imputation. The data set may consist of continuous, binary or categorical variables, but methods for semi-continuous variables are missing.
  • Package pan provides multiple imputation for multivariate panel or clustered data.
  • Package norm provides EM-based multiple imputation for multivariate normal data.
  • Package cat provides EM-based multiple imputation for multivariate categorical data.
  • Package MImix provides tools to combine results for multiply-imputed data using mixture approximations.
  • Package robCompositions provides iterative model-based imputation for compositional data (function impCoda()).
  • Package missForest uses the functionality of the randomForest to impute missing values in an iterative single-imputation fashion. It can deal with almost any kind of variables except semi-continuous ones. Even the underlying bootstrap approach of random forests ensures that from multiple runs one can get multiple imputations but the additional uncertainty of imputation is only considered when choosing the random forest method of package mice.

Nearest Neighbor Imputation Methods

  • Package VIM provides an implementation of the popular sequential and random (within a domain) hot-deck algorithm.
  • VIM also provides a fast k-nearest neighbor (knn) algorithm which can be used for large data sets. It uses a modification of the Gower Distance for numerical, categorical, ordered, continuous and semi-continuous variables.
  • Package yaImpute performs popular nearest neighbor routines for imputation of continuous variables where different metrics and methods can be used for determining the distance between observations.
  • Package robCompositions provides knn imputation for compositional data (function impKNNa()) using the Aitchison distance and adjustment of the nearest neighbor.
  • Package impute on Bioconductor impute provides knn imputation of continuous variables.

Copula-based Imputation Methods:

  • The S4 class package CoImp imputes multivariate missing data by using conditional copula functions. The imputation procedure is semiparametric: the margins are non-parametrically estimated through local likelihood of low-degree polynomials while a range of different parametric models for the copula can be selected by the user. The missing values are imputed by drawing observations from the conditional density functions by means of the Hit or Miss Monte Carlo method. It works either for a matrix of continuous scaled variables or a matrix of discrete distributions.

Miscellaneous Imputation Methods:

  • Package missMDA allows to impute incomplete continuous variables by principal component analysis (PCA) or categorical variables by multiple correspondence analysis (MCA).
  • Package mice (function mice.impute.pmm()) and Package Hmisc (function aregImpute()) allow predictive mean matching imputation.
  • Package VIM allows to visualize the structure of missing values using suitable plot methods. It also comes with a graphical user interface.

Statistical Disclosure Control

Data from statistical agencies and other institutions are in its raw form mostly confidential and data providers have to be ensure confidentiality by both modifying the original data so that no statistical units can be re-identified and by guaranteeing a minimum amount of information loss.
  • Package sdcTable can be used to provide confidential (hierarchical) tabular data. It includes the HITAS and the HYPERCUBE technique and uses linear programming packages (Rglpk and lpSolveAPI) for solving (a large amount of) linear programs.
  • Package sdcSpatial can be used to smooth or/and suppress raster cells in a map. This is useful when plotting raster-based counts on a map.
  • An interface to the package sdcTable is provided by package easySdcTable.
  • Package sdcHierarchies provides methods to generate, modify, import and convert nested hierarchies that are often used when defining inputs for statistical disclosure control methods.
  • Package SmallCountRounding can be used to protect frequency tables by rounding necessary inner cells so that cross-classifications to be published are safe.

Seasonal Adjustment and Forecasting

For a more general view on time series methodology we refer to the TimeSeries task view. Only very specialized time series packages related to complex surveys are discussed here.
  • Decomposition of time series can be done with the function decompose(), or more advanced by using the function stl(), both from the basic stats package. Decomposition is also possible with the StructTS() function, which can also be found in the stats package.
  • Many powerful tools can be accessed via packages x12 and x12GUI and package seasonal. x12 provides a wrapper function for the X12 binaries, which have to be installed first. It uses with a S4-class interface for batch processing of multiple time series. x12GUI provides a graphical user interface for the X12-Arima seasonal adjustment software. Less functionality but with the support of SEATS Spec is supported by package seasonal.
  • A wrapper to JDemetra plus is provided by RJDemetra. It offers a full access to all options and outputs from JDemetra plus including the two seasonal adjustment methods from TRAMO/SEATS and X12/X13 Arima SEATS.
  • Given the large pool of individual forecasts in survey-type forecasting, forecast combination techniques from package GeomComb can be useful. It can also handle missing values in the time series.

Statistical Matching and Record Linkage

  • Package StatMatch provides functions to perform statistical matching between two data sources sharing a number of common variables. It creates a synthetic data set after matching of two data sources via a likelihood approach or via hot-deck.
  • Package MatchIt allows nearest neighbor matching, exact matching, optimal matching and full matching amongst other matching methods. If two data sets have to be matched, the data must come as one data frame including a factor variable which includes information about the membership of each observation.
  • Package MatchThem provides tools of matching and weighting multiply imputed datasets to control for effects of confounders. Multiple imputed data files from mice and amelia can be used directly.
  • Package stringdist can calculate various string distances based on edits (damerau-levenshtein, hamming, levenshtein, optimal sting alignment), qgrams (q-gram, cosine, jaccard distance) or heuristic metrics (jaro, jaro-winkler).
  • Package reclin is a record linkage toolkit to assist in performing probabilistic record linkage and deduplication
  • The package diyar provides a means of performing multi-stage deterministic record linkages, while attempting to address missing data and conflicting matches.
  • Package XBRL allows the extraction of business financial information from XBRL Documents.

Small Area Estimation

  • Package sae include functions for small area estimation, for example, direct estimators, the empirical best predictor and composite estimators.
  • Package emdi includes further functionality for supporting the user even beyond estimation, for example, for performing model diagnostic analyses, visualizing, and exporting the results for further processing. It includes build-in functionality for transformating variables and includes bootstrap methods for variance estimation. It also includes export to Excel and applies parallel computing in an automatized manner.
  • Package rsae provides functions to estimate the parameters of the basic unit-level small area estimation (SAE) model (aka nested error regression model) by means of maximum likelihood (ML) or robust ML. On the basis of the estimated parameters, robust predictions of the area-specific means are computed (incl. MSE estimates; parametric bootstrap). The current version (rsae 0.4-x) does not allow for categorical independent variables.
  • Package nlme provides facilities to fit Gaussian linear and nonlinear mixed-effects models and lme4 provides facilities to fit linear and generalized linear mixed-effects model, both used in small area estimation.
  • The hbsae package provides functions to compute small area estimates based on a basic area or unit-level model. The model is fit using restricted maximum likelihood, or in a hierarchical Bayesian way. Auxilary information can be either counts resulting from categorical variables or means from continuous population information.
  • With package JoSAE point and variance estimation for the generalized regression (GREG) and a unit level empirical best linear unbiased prediction EBLUP estimators can be made at domain level. It basically provides wrapper functions to the nlme package that is used to fit the basic random effects models.
  • The package BayesSAE also allows for Bayesian methods range from the basic Fay-Herriot model to its improvement such as You-Chapman models, unmatched models, spatial models and so on.

Indices, Indicators, Tables and Visualisation of Indicators

  • Package laeken provides functions to estimate popular risk-of-poverty and inequality indicators (at-risk-of-poverty rate, quintile share ratio, relative median risk-of-poverty gap, Gini coefficient). In addition, standard and robust methods for tail modeling of Pareto distributions are provided for semi-parametric estimation of indicators from continuous univariate distributions such as income variables.
  • Package convey estimates variances on indicators of income concentration and poverty using familiar linearized and replication-based designs created by the survey package such as the Gini coefficient, Atkinson index, at-risk-of-poverty threshold, and more than a dozen others.
  • Package ineq computes various inequality measures (Gini, Theil, entropy, among others), concentration measures (Herfindahl, Rosenbluth), and poverty measures (Watts, Sen, SST, and Foster). It also computes and draws empirical and theoretical Lorenz curves as well as Pen's parade. It is not designed to deal with sampling weights directly (these could only be emulated via rep(x, weights)).
  • Package IC2 include three inequality indices: extended Gini, Atkinson and Generalized Entropy. It can deal with sampling weights and subgroup decomposition is supported.
  • Package DHS.rates estimates key indicators (especially fertility rates) and their variances for the Demographic and Health Survey (DHS) data.
  • Functions priceIndex() from package micEconIndex allows to estimate the Paasche, the Fisher and the Laspeyres price indices. For estimating quantities (of goods, for example), function quantityIndex() might be your friend.
  • Package tmap offers a layer-based way to make thematic maps, like choropleths and bubble maps.
  • Package rworldmap outline how to map country referenced data and support users in visualising their own data. Examples are given, e.g., maps for the world bank and UN. It provides also new ways to visualise maps.
  • Package rrcov3way provides robust methods for multiway data analysis, applicable also for compositional data.
  • Package robCompositions methods for compositional tables including statistical tests.


  • The MicSim package includes methods for microsimulations. Given a initial population, mortality rates, divorce rates, marriage rates, education changes, etc. and their transition matrix can be defined and included for the simulation of future states of the population. The package does not contain compiled code but functionality to run the microsimulation in parallel is provided.
  • Package sms provides facilities to simulate micro-data from given area-based macro-data. Simulated annealing is used to best satisfy the available description of an area. For computational issues, the calculations can be run in parallel mode.
  • Package synthpop using regression tree methods to simulate synthetic data from given data. It is suitable to produce synthetic data when the data have no hierarchical and cluster information (such as households) as well as when the data does not collected with a complex sampling design.
  • Package saeSim Tools for the simulation of data in the context of small area estimation.

Additional Packages and Functionalities

Various additional packages are available that provides certain functionality useful in official statistics and survey methodology.
  • The questionr package contains a set of functions to make the processing and analysis of surveys easier. It provides interactive shiny apps and addins for data recoding, contingency tables, dataset metadata handling, and several convenience functions.

Data Import and Export:

  • Package SAScii imports ASCII files directly into R using only a SAS input script, which is parsed and converted into arguments for a read.fwf call. This is useful whenever SAS scripts for importing data are already available.
  • The foreign package includes tools for reading data from SAS Xport (function read.xport()), Stata (function read.dta()), SPSS (function read.spss()) and various other formats. It provides facilities to write file to various formats, see function write.foreign().
  • Also the package haven imports and exports SAS, Stata and SPSS (function read.spss()) files. The package is more efficient for loading heavy data sets and it handles the labelling of variables and values in an advanced manner.
  • Also the package Hmisc provides tools to read data sets from SPSS (function spss.get()) or Stata (function stata.get()).
  • The pxR package provides a set of functions for reading and writing PC-Axis files, used by different statistical organizations around the globe for dissemination of their (multidimensional) tables.
  • With package prevR and it's function import.dhs() it is possible to directly imports data from the Demographic Health Survey.
  • Function describe() from package questionr describes the variables of a dataset that might include labels imported with the foreign or memisc packages.
  • Package OECD searches and extracts data from the OECD.
  • Package tidyqwi provides an api for accessing the United States Census Bureau's Quartely Workforce Indicator.
  • cancensus provides access to Statistics Canada's Census data with the option to retrieve all data as spatial data and cansim is designed to retrieve and work with Statistics Canada's data vectors, tables, and cubes.
  • Package Rilostat contains tools to download data from the international labour organisation database together with search and manipulation utilities. It can also import ilostat data that are available on their data base in SDMX format.
  • Access to Finnish open government data is provided by package sorvi
  • Package acs downloads, manipulates, and presents the American Community Survey and decennial data from the US Census.
  • A wrapper for the U.S. Census Bureau APIs that returns data frames of Census data and metadata is implemented in package censusapi.
  • Package censusGeography converts spefific United States Census geographic code for city, state (FIP and ICP), region, and birthplace.
  • With package idbr you can to make requests to the US Census Bureau's International Data Base API.
  • Package ipumsr provides an easy way to import census, survey and geographic data provided by IPUMS.
  • Package tidycensus provides an integrated R interface to the decennial US Census and American Community Survey APIs and the US Census Bureau's geographic boundary files
  • Access to data published by INEGI, Mexico's official statistics agency, is supported by package inegiR
  • Package cbsodataR provides access to Statistics Netherlands' (CBS) open data API.
  • Package EdSurvey includes analysis of NCES Education Survey and Assessment Data
  • Package nomisr gives access to Nomis UK Labour Market Data including Census and Labour Force Survey
  • Package readabs to download and tidy time series data from the Australian Bureau of Statistics https://cran.r-project.org/package=readabs
  • Package FAOSTAT to download data from the FAOSTAT database of the Food and Agricultural Organization (FAO) of the United Nations
  • Package ecb provides access to the European Central Bank's Statistical Data Warehouse (SDW)
  • Package pxweb provides generic interface for the PX-Web/PC-Axis API used by many National Statistical Agencies.
  • Package PxWebApiData provides easy API access to e.g. Statistics Norway, Statistics Sweden and Statistics Finland.


  • Package samplingbook includes sampling procedures from the book 'Stichproben. Methoden und praktische Umsetzung mit R' by Goeran Kauermann and Helmut Kuechenhoff (2010).
  • Package SDaA is designed to reproduce results from Lohr, S. (1999) 'Sampling: Design and Analysis, Duxbury' and includes the data sets from this book.
  • The main contributions of samplingVarEst are Jackknife alternatives for variance estimation of unequal probability with one or two stage designs.
  • Package memisc includes tools for the management of survey data, graphics and simulation.
  • Package anesrake provides a comprehensive system for selecting variables and weighting data to match the specifications of the American National Election Studies.
  • Package spsurvey includes facilities for spatial survey design and analysis for equal and unequal probability (stratified) sampling.
  • The FFD package is designed to calculate optimal sample sizes of a population of animals living in herds for surveys to substantiate freedom from disease. The criteria of estimating the sample sizes take the herd-level clustering of diseases as well as imperfect diagnostic tests into account and select the samples based on a two-stage design. Inclusion probabilities are not considered in the estimation. The package provides a graphical user interface as well.
  • mipfp provides multidimensional iterative proportional fitting to calibrate n-dimensional arrays given target marginal tables.
  • Package MBHdesign provides spatially balanced designs from a set of (contiguous) potential sampling locations in a study region.
  • Package quantification provides different functions for quantifying qualitative survey data. It supports the Carlson-Parkin method, the regression approach, the balance approach and the conditional expectations method.
  • BIFIEsurvey includes tools for survey statistics in educational assessment including data with replication weights (e.g. from bootstrap).
  • surveybootstrap includes tools for using different kinds of bootstrap for estimating sampling variation using complex survey data.
  • Package surveyoutliers winsorize values of a variable of interest.
  • The package univOutl includes various methods for detecting univariate outliers, e.g. the Hidiroglou-Berthelot method.
  • Package extremevalues is designed to detect univariate outliers based on modeling the bulk distribution.
  • Package RRreg implements univariate and multivariate analysis (correlation, linear, and logistic regression) for several variants of the randomized response technique, a survey method for eliminating response biases due to social desirability.
  • Package RRTCS includes randomized response techniques for complex surveys.
  • Package panelaggregation aggregates business tendency survey data (and other qualitative surveys) to time series at various aggregation levels.
  • Package surveydata makes it easy to keep track of metadata from surveys, and to easily extract columns with specific questions.
  • RcmdrPlugin.sampling includes tools for sampling in official statistical surveys. It includes tools for calculating sample sizes and selecting samples using various sampling designs.
  • Package mapStats does automated calculation and visualization of survey data statistics on a color-coded map.


acs — 2.1.4

Download, Manipulate, and Present American Community Survey and Decennial Data from the US Census

Amelia — 1.7.6

A Program for Missing Data

anesrake — 0.80

ANES Raking Implementation

BalancedSampling — 1.5.5

Balanced and Spatially Balanced Sampling

BayesSAE — 1.0-2

Bayesian Analysis of Small Area Estimation

BIFIEsurvey — 3.3-12

Tools for Survey Statistics in Educational Assessment

CalibrateSSB — 1.3.0

Weighting and Estimation for Panel Data with Non-Response

cancensus — 0.4.2

Access, Retrieve, and Work with Canadian Census Data and Geography

cansim — 0.3.5

Accessing Statistics Canada Data Table and Vectors

cat — 0.0-6.5

Analysis of categorical-variable datasets with missing values

cbsodataR — 0.5.1

Statistics Netherlands (CBS) Open Data API Client

censusapi — 0.7.1

Retrieve Data from the Census APIs

censusGeography — 0.1.0

Changes United States Census Geographic Code into Name of Location

CoImp — 1.0

Copula Based Imputation Method

convey — 0.2.2

Income Concentration Analysis with Complex Survey Samples

deducorrect — 1.3.7

Deductive Correction, Deductive Imputation, and Deterministic Correction

DHS.rates — 0.8.0

Calculates Demographic Indicators

diyar — 0.2.0

Multistage Record Linkage and Case Definition for Epidemiological Analysis

easySdcTable — 0.6.0

Easy Interface to the Statistical Disclosure Control Package 'sdcTable'

ecb — 0.2

Programmatic Access to the European Central Bank's Statistical Data Warehouse (SDW)

editrules — 2.9.3

Parsing, Applying, and Manipulating Data Cleaning Rules

EdSurvey — 2.6.1

Analysis of NCES Education Survey and Assessment Data

emdi — 2.0.2

Estimating and Mapping Disaggregated Indicators

errorlocate — 0.9.8

Locate Errors with Validation Rules

extremevalues — 2.3.3

Univariate Outlier Detection

FAOSTAT — 2.2.1

Download Data from the FAOSTAT Database

FFD — 1.0-8

Freedom from Disease

foreign — 0.8-81

Read Data Stored by 'Minitab', 'S', 'SAS', 'SPSS', 'Stata', 'Systat', 'Weka', 'dBase', ...

Frames2 — 0.2.1

Estimation in Dual Frame Surveys

GeomComb — 1.0

(Geometric) Forecast Combination Methods

haven — 2.3.1

Import and Export 'SPSS', 'Stata' and 'SAS' Files

hbsae — 1.0

Hierarchical Bayesian Small Area Estimation

Hmisc — 4.5-0

Harrell Miscellaneous

IC2 — 1.0-1

Inequality and Concentration Indices and Curves

icarus — 0.3.1

Calibrates and Reweights Units in Samples

idbr — 0.3

R Interface to the US Census Bureau International Data Base API

inegiR — 3.0.0

Integrate INEGI’s (Mexican Stats Office) API with R

ineq — 0.2-13

Measuring Inequality, Concentration, and Poverty

ipumsr — 0.4.5

Read 'IPUMS' Extract Files

JoSAE — 0.3.0

Unit-Level and Area-Level Small Area Estimation

laeken — 0.5.1

Estimation of Indicators on Social Exclusion and Poverty

lavaan — 0.6-7

Latent Variable Analysis

lavaan.survey —

Complex Survey Structural Equation Modeling (SEM)

lme4 — 1.1-26

Linear Mixed-Effects Models using 'Eigen' and S4

mapStats — 2.4

Geographic Display of Survey Data Statistics

MatchIt — 4.1.0

Nonparametric Preprocessing for Parametric Causal Inference

MatchThem — 0.9.3

Matching and Weighting Multiply Imputed Datasets

MBHdesign — 2.1.8

Spatial Designs for Ecological and Environmental Surveys

memisc —

Management of Survey Data and Presentation of Analysis Results

mi — 1.0

Missing Data Imputation and Model Checking

mice — 3.13.0

Multivariate Imputation by Chained Equations

micEconIndex — 0.1-6

Price and Quantity Indices

MicSim — 1.0.15

Performing Continuous-Time Microsimulation

MImix — 1.0

Mixture summary method for multiple imputation

mipfp — 3.2.1

Multidimensional Iterative Proportional Fitting and Alternative Models

missForest — 1.4

Nonparametric Missing Value Imputation using Random Forest

missMDA — 1.18

Handling Missing Values with Multivariate Data Analysis

mitools — 2.4

Tools for Multiple Imputation of Missing Data

mix — 1.0-10

Estimation/Multiple Imputation for Mixed Categorical and Continuous Data

nlme — 3.1-152

Linear and Nonlinear Mixed Effects Models

nomisr — 0.4.4

Access 'Nomis' UK Labour Market Data

norm — 1.0-9.5

Analysis of multivariate normal datasets with missing values

OECD — 0.2.4

Search and Extract Data from the OECD

pan — 1.6

Multiple Imputation for Multivariate Panel or Clustered Data

panelaggregation — 0.1.1

Aggregate Longitudinal Survey Data

Rilostat — 1.1.5

ILO Open Data via Ilostat Bulk Download Facility or SDMX Web Service

pps — 1.0

PPS Sampling

PracTools — 1.2.2

Tools for Designing and Weighting Survey Samples

prevR — 3.4.1

Estimating Regional Trends of a Prevalence from a DHS and Similar Surveys

pxweb — 0.10.4

R Interface to PXWEB APIs

PxWebApiData — 0.5.0

PX-Web Data by API

RRreg — 0.7.1

Correlation and Regression Analyses for Randomized Response Data

RRTCS — 0.0.3

Randomized Response Techniques for Complex Surveys

pxR — 0.42.4

PC-Axis with R

quantification — 0.2.0

Quantification of Qualitative Survey Data

questionr — 0.7.4

Functions to Make Surveys Processing Easier

RcmdrPlugin.sampling — 1.1

Tools for sampling in Official Statistical Surveys

readabs — 0.4.8

Download and Tidy Time Series Data from the Australian Bureau of Statistics

reclin — 0.1.1

Record Linkage Toolkit

reweight — 1.2.1

Adjustment of Survey Respondent Weights

RJDemetra — 0.1.6

Interface to 'JDemetra+' Seasonal Adjustment Software

robCompositions — 2.3.0

Compositional Data Analysis

rpms — 0.4.0

Recursive Partitioning for Modeling Survey Data

rrcov3way — 0.1-18

Robust Methods for Multiway Data Analysis, Applicable also for Compositional Data

rworldmap — 1.3-6

Mapping Global Data

rsae — 0.1-5

Robust Small Area Estimation

rspa — 0.2.5

Adapt Numerical Records to Fit (in)Equality Restrictions

sae — 1.3

Small Area Estimation

saeSim — 0.10.0

Simulation Tools for Small Area Estimation

sampling — 2.9

Survey Sampling

samplingbook — 1.2.2

Survey Sampling Procedures

SamplingStrata — 1.5-1

Optimal Stratification of Sampling Frames for Multipurpose Sampling Surveys

samplingVarEst — 1.4

Sampling Variance Estimation

SAScii — 1.0

Import ASCII files directly into R using only a SAS input script

SDaA — 0.1-3

Sampling: Design and Analysis

sdcHierarchies — 0.18.3

Create and (Interactively) Modify Nested Hierarchies

sdcSpatial — 0.1.1

Statistical Disclosure Control for Spatial Data

sdcTable — 0.31

Methods for Statistical Disclosure Control in Tabular Data

seasonal — 1.8.0

R Interface to X-13-ARIMA-SEATS

SmallCountRounding — 0.6.0

Small Count Rounding of Tabular Data

simFrame — 0.5.3

Simulation framework

simputation — 0.2.6

Simple Imputation

sms — 2.3.1

Spatial Microsimulation

spsurvey — 4.1.4

Spatial Survey Design and Analysis

srvyr — 1.0.0

'dplyr'-Like Syntax for Summary Statistics of Survey Data

StatMatch — 1.4.0

Statistical Matching or Data Fusion

stratification — 2.2-6

Univariate Stratification of Survey Populations

stringdist —

Approximate String Matching, Fuzzy Text Search, and String Distance Functions

sorvi — 0.7.26

Finnish Open Government Data Toolkit

survey — 4.0

Analysis of Complex Survey Samples

surveybootstrap — 0.0.1

Tools for the Bootstrap with Survey Data

surveydata — 0.2.6

Tools to Work with Survey Data

surveyplanning — 4.0

Survey Planning Tools

svyPVpack — 0.1-1

A package for complex surveys including plausible values

surveyoutliers — 0.1

Helps Manage Outliers in Sample Surveys

synthpop — 1.6-0

Generating Synthetic Versions of Sensitive Microdata for Statistical Disclosure Control

tidycensus — 0.11.4

Load US Census Boundary and Attribute Data as 'tidyverse' and 'sf'-Ready Data Frames

tidyqwi — 0.1.2

A Convenient API for Accessing United States Census Bureau's Quarterly Workforce Indicator

tmap — 3.3

Thematic Maps

treemap — 2.4-2

Treemap Visualization

univOutl — 0.2

Detection of Univariate Outliers

validate — 1.0.1

Data Validation Infrastructure

validatetools — 0.5.0

Checking and Simplifying Validation Rule Sets

vardpoor — 0.20.1

Variance Estimation for Sample Surveys by the Ultimate Cluster Method

VIM — 6.1.0

Visualization and Imputation of Missing Values

weights — 1.0.1

Weighting and Weighted Statistics

x12 — 1.9.3

Interface to 'X12-ARIMA'/'X13-ARIMA-SEATS' and Structure for Batch Processing of Seasonal Adjustment

x12GUI — 0.13.0

X12 - Graphical User Interface

XBRL — 0.99.18

Extraction of Business Financial Information from 'XBRL' Documents

yaImpute — 1.0-32

Nearest Neighbor Observation Imputation and Evaluation Tools

Task view list