SSBtools - Statistics Norway's Miscellaneous Tools
Functions used by other packages from Statistics Norway are gathered. 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 are included (Langsrud, 2023) <doi:10.32614/RJ-2023-088>.
Last updated 6 days ago
statistics
7.52 score 7 stars 7 dependents 68 scripts 1.2k 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 12 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 13 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 191 downloads