Survey Analysis Tools for the Chilean Social Observatory

Provides high-level functions to compute estimates (means, proportions, totals, ratios and quantiles) for complex survey designs, with automatic classification of statistical reliability, between-year significance tests and standardised report generation in 'Excel' format (via 'openxlsx'). It was developed for the Social Observatory ('Observatorio Social') of the Chilean Ministry of Social Development and implements its data-quality criteria, but it can be applied to any complex-survey design (for example the Chilean 'CASEN' household survey, included as example data). The reliability criteria follow Division Observatorio Social (2023) < https://bidat.gob.cl/details/ficha/dato/manual-para-la-investigacion-casen-2022> and Instituto Nacional de Estadisticas (2020) < https://www.ine.gob.cl/inicio/documentos-de-trabajo/documento/fundamentos-del-est%C3%A1ndar-para-la-evaluaci%C3%B3n-de-la-calidad-de-las-estimaciones-en-encuestas-de-hogares>; complex-survey estimation methods follow Lumley (2010, ISBN:9780470284308).


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("dosr")

0.3.6 by Gabriel Sotomayor, a month ago


https://gabrielsotomayorl.github.io/dosr/, https://github.com/GabrielSotomayorl/dosr


Report a bug at https://github.com/GabrielSotomayorl/dosr/issues


Browse source code at https://github.com/cran/dosr


Authors: Gabriel Sotomayor [aut, cre] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, survey, srvyr, tidyr, purrr, haven, rlang, future, furrr, openxlsx, stringr, labelled, tibble

Suggests testthat, knitr, rmarkdown, withr


See at CRAN