SSBtools - Algorithms and Tools for Tabular Statistics and Hierarchical Computations
Includes general data manipulation functions, algorithms for statistical disclosure control (Langsrud, 2024) <doi:10.1007/978-3-031-69651-0_6> and functions for hierarchical computations by sparse model matrices (Langsrud, 2023) <doi:10.32614/RJ-2023-088>.
Last updated 14 hours ago
statistics
7.65 score 7 stars 7 dependents 68 scripts 1.5k downloadsPxWebApiData - PX-Web Data by API
Function to read PX-Web data into R via API. The example code reads data from the three national statistical institutes, Statistics Norway, Statistics Sweden and Statistics Finland.
Last updated 4 months ago
5.60 score 4 stars 100 scripts 728 downloadsSmallCountRounding - Small Count Rounding of Tabular Data
A statistical disclosure control tool to protect frequency tables in cases where small values are sensitive. The function PLSrounding() performs small count rounding of necessary inner cells so that all small frequencies of cross-classifications to be published (publishable cells) are rounded. This is equivalent to changing micro data since frequencies of unique combinations are changed. Thus, additivity and consistency are guaranteed. The methodology is described in Langsrud and Heldal (2018) <https://www.researchgate.net/publication/327768398_An_Algorithm_for_Small_Count_Rounding_of_Tabular_Data>.
Last updated 15 days ago
statistics
5.31 score 3 stars 15 scripts 398 downloadsklassR - Classifications and Codelists for Statistics Norway
Functions to search, retrieve, apply and update classifications and codelists using Statistics Norway's API <https://www.ssb.no/klass> from the system 'KLASS'. Retrieves classifications by date with options to choose language, hierarchical level and formatting.
Last updated 16 days ago
5.13 score 5 stars 34 scripts 404 downloadsGISSB - Network Analysis on the Norwegian Road Network
A collection of GIS (Geographic Information System) functions in R, created for use in Statistics Norway. The functions are primarily related to network analysis on the Norwegian road network.
Last updated 1 years ago
4.30 score 4 stars 9 scripts 186 downloads