{"id":17651388,"url":"https://github.com/statisticsnorway/ssb-ssbtools","last_synced_at":"2025-04-15T16:54:10.361Z","repository":{"id":37413082,"uuid":"137074899","full_name":"statisticsnorway/ssb-ssbtools","owner":"statisticsnorway","description":"R-package with Algorithms and Tools for Tabular Statistics and Hierarchical Computations","archived":false,"fork":false,"pushed_at":"2025-03-14T10:12:08.000Z","size":2571,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-28T22:41:32.262Z","etag":null,"topics":["cran","r","r-package","statistics"],"latest_commit_sha":null,"homepage":"https://statisticsnorway.github.io/ssb-ssbtools/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/statisticsnorway.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-12T13:21:36.000Z","updated_at":"2025-03-18T01:28:44.000Z","dependencies_parsed_at":"2024-06-12T03:14:45.887Z","dependency_job_id":"5c4e55f3-0015-4f52-9c97-1755f17abc22","html_url":"https://github.com/statisticsnorway/ssb-ssbtools","commit_stats":{"total_commits":499,"total_committers":5,"mean_commits":99.8,"dds":"0.12224448897795592","last_synced_commit":"073f6865534013faf9ef1065c7115d10f4bd7e9e"},"previous_names":["statisticsnorway/ssb-ssbtools","statisticsnorway/ssbtools"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statisticsnorway%2Fssb-ssbtools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statisticsnorway%2Fssb-ssbtools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statisticsnorway%2Fssb-ssbtools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statisticsnorway%2Fssb-ssbtools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statisticsnorway","download_url":"https://codeload.github.com/statisticsnorway/ssb-ssbtools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246348917,"owners_count":20763070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cran","r","r-package","statistics"],"created_at":"2024-10-23T11:42:01.973Z","updated_at":"2025-03-30T16:31:52.824Z","avatar_url":"https://github.com/statisticsnorway.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# R package SSBtools \u003cimg src=\"man/figures/logo.png\" align=\"right\" height=\"150\" /\u003e \r\n\r\n\r\n| [SSBtools on CRAN](https://cran.r-project.org/package=SSBtools) |  | [pkgdown website](https://statisticsnorway.github.io/ssb-ssbtools/) |  | [GitHub Repository](https://github.com/statisticsnorway/ssb-ssbtools) |\r\n|----------------------|---|----------------------|---|----------------------|\r\n\r\n\r\n***\r\n\r\n### Description\r\n\r\nIncludes general data manipulation functions, algorithms for statistical disclosure control \r\n[(Langsrud, 2024)](https://doi.org/10.1007%2F978-3-031-69651-0_6) \r\nand functions for hierarchical computations by sparse model matrices  \r\n[(Langsrud, 2023)](https://doi.org/10.32614%2FRJ-2023-088). \r\n\r\n\r\n***\r\n\r\n\r\n### Installation\r\n\r\nYou can install SSBtools from CRAN with\r\n\r\n```r\r\ninstall.packages(\"SSBtools\")\r\n```\r\n\r\nAlternatively install from GitHub by`devtools::install_github(\"statisticsnorway/SSBtools\")` if you want to test the newest changes.\r\n\r\n\r\n***\r\n\r\n \r\n### Some of the functions\r\n\r\n|   |   |\r\n| ---------------------------- | -------------------------------------------------------------- |\r\n| [AutoHierarchies()](https://statisticsnorway.github.io/ssb-ssbtools/reference/AutoHierarchies.html) | Ensure standardized coding of hierarchies |\r\n| [GaussIndependent()](https://statisticsnorway.github.io/ssb-ssbtools/reference/GaussIndependent.html)/[GaussRank()](https://statisticsnorway.github.io/ssb-ssbtools/reference/GaussRank.html) |  Linearly independent rows and columns by Gaussian elimination |\r\n| [GaussSuppression()](https://statisticsnorway.github.io/ssb-ssbtools/reference/GaussSuppression.html) | Secondary suppression by Gaussian elimination |\r\n| [FindHierarchies()](https://statisticsnorway.github.io/ssb-ssbtools/reference/FindHierarchies.html)/[FindDimLists()](https://statisticsnorway.github.io/ssb-ssbtools/reference/FindDimLists.html) | Finding hierarchies automatically from data |\r\n| [HierarchicalWildcardGlobbing()](https://statisticsnorway.github.io/ssb-ssbtools/reference/HierarchicalWildcardGlobbing.html) | Find variable combinations by advanced wildcard/globbing specifications. |\r\n| [HierarchyCompute()](https://statisticsnorway.github.io/ssb-ssbtools/reference/HierarchyCompute.html) | Hierarchical Computations |\r\n| [Match()](https://statisticsnorway.github.io/ssb-ssbtools/reference/Match.html) | Matching rows in data frames |\r\n| [Mipf()](https://statisticsnorway.github.io/ssb-ssbtools/reference/Mipf.html) | Iterative proportional fitting from matrix input |\r\n| [ModelMatrix()](https://statisticsnorway.github.io/ssb-ssbtools/reference/ModelMatrix.html) | Model matrix from hierarchies and/or a formula (common interface) |\r\n| [RowGroups()](https://statisticsnorway.github.io/ssb-ssbtools/reference/RowGroups.html) | Create numbering according to unique rows |\r\n| [SSBtoolsData()](https://statisticsnorway.github.io/ssb-ssbtools/reference/SSBtoolsData.html) | Function that returns a dataset |\r\n| [aggregate_by_pkg()](https://statisticsnorway.github.io/ssb-ssbtools/reference/aggregate_by_pkg.html) | Aggregate by base R or data.table |\r\n| [aggregate_multiple_fun()](https://statisticsnorway.github.io/ssb-ssbtools/reference/aggregate_multiple_fun.html) | Wrapper to aggregate |\r\n| [map_hierarchies_to_data()](https://statisticsnorway.github.io/ssb-ssbtools/reference/map_hierarchies_to_data.html) | Add variables to dataset based on hierarchies |\r\n| [model_aggregate()](https://statisticsnorway.github.io/ssb-ssbtools/reference/model_aggregate.html) | Hierarchical aggregation via model specification |\r\n| [tables_by_formulas()](https://statisticsnorway.github.io/ssb-ssbtools/reference/tables_by_formulas.html) | Tabular Statistics Based on Formulas |\r\n| [quantile_weighted()](https://statisticsnorway.github.io/ssb-ssbtools/reference/quantile_weighted.html) | Weighted quantiles |\r\n\r\n📌 See the [broader list of available functions](https://statisticsnorway.github.io/ssb-ssbtools/reference/index.html).\r\n\r\n***\r\n\r\n\r\nOfficial version on CRAN: [https://cran.r-project.org/package=SSBtools](https://cran.r-project.org/package=SSBtools)\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatisticsnorway%2Fssb-ssbtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatisticsnorway%2Fssb-ssbtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatisticsnorway%2Fssb-ssbtools/lists"}