Skip to content
A Shiny web app for calibration of weights of statistical surveys
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
data Two-stage calibration added Mar 7, 2018
images Screenshots and GIFs Mar 8, 2018
Calif Manual v4.0.pdf
LICENSE Initial commit Feb 15, 2018 Update of the README Mar 8, 2018
server.R Row numbers in data overview and strata selection update Sep 10, 2019
ui.R Change of default upper bound step Mar 20, 2018

Calif 4.0

This is a Shiny web app for calibration of weights of statistical surveys prepared by Statistical Office of the Slovak Republic.

To launch Calif run this command in R:

shiny::runGitHub('Calif', 'SO-SR', destdir = getwd(), launch.browser = TRUE)


     ', filetype = '.zip', destdir = getwd(), 
               launch.browser = TRUE)

Alternatively, you can download single file app from the webpage of the SO SR where you can find the Calif 4.0.R code that can be sourced in R and run by calif() command.

To install required packages run in R:

install.packages(c('shiny', 'sampling', 'nleqslv', 'haven'))

Calif runs in your web browser, in order to guarantee a proper functioning make sure you are using the latest version of the browser. Once Calif is launched, the whole session is undertaken locally within R (in the background) and no data is sent outside your PC (a web browser just serves for displaying the GUI).

You are also free to try some calibration with the test data. Its usage is described in Chapter 6 of the Manual.

Copyright (C) 2014-2018 The Statistical Office of the Slovak Republic

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

Calif makes use of R packages shiny, sampling, nleqslv and haven. Small changes were made to the calib function of the sampling package and to the pie function of the graphics package.

You can’t perform that action at this time.