Version 2026.7.2
-
Breaking: dropped support for the 2020 border year. All
_b2020datasets are removed and every data-returning function now accepts onlyborder = 2024(set_config(border_nor = 2020)andborder = 2020now error). Useborder = 2024. - Population data now carries a sex dimension.
nor_population_by_age_b2024includes realmale/female/totalsplits (fetched from SSB tables 07459 and 10826 withKjonn = TRUE). Locations where Statistics Norway provides no sex breakdown (Svalbard, Jan Mayen, unknown) carrytotalwithNAmale/female. - New exported function
nor_population_by_sex_age_cats()returns population by custom age categories split by sex, withinclude_total_ageandinclude_total_sextoggles. -
nor_population_by_age_cats()is unchanged for callers: it now filters tosex == "total"internally, so its output remains identical (total only). - Note: at redistricted sub-national levels each sex is rounded independently, so
male + femalemay differ fromtotalby up to 3 people in ~0.6% of historical cells (exact at the national level).
Version 2026.3.30
CRAN release: 2026-03-31
- Population data pipeline now fetches directly from SSB PxWeb API (tables 07459 and 10826) instead of manually downloaded CSV files.
- Including 2025 and 2026 population data.
- Municipality population data now uses actual historical data per municipality code instead of crude split approximations for merged municipalities.
- National population data sourced from table 07459 (1986+), replacing the defunct dataset 59322.
- Svalbard population data now fetched from SSB table 07430 (up to 2026), replacing the static Excel file.
- Removed unused Nordic country population and location Excel files.
Version 2024.4.26
CRAN release: 2024-04-26
- Fixing an error that wouldn’t allow for include_total = TRUE in nor_population_by_age_cats
- CRAN submission.
Version 2024.1.17
CRAN release: 2024-01-18
- Fixing an error in merging for 2023->2024.
- Including population for georegion.
Version 2023.6.19
- Inclusion of location_name_short in nor_locations_names for border=2020.
- CRAN submission.
Version 2023.5.22
CRAN release: 2023-05-22
- Including redistricting data for 2024
- Setting default for border_nor to 2024.
- CRAN submission.
