R Observatory
Search
install.packages("csmaps")
CRAN 30-day downloads, method
501−20.2% down on the 30 days before, the worse direction
Test coverage, method
38%of lines run by tests

Provides datasets containing preformatted maps of Norway at the county, municipality, and ward (Oslo only) level for redistricting in 2024, 2020, 2018, and 2017. Multiple layouts are provided (normal, split, and with an insert for Oslo), allowing the user to rapidly create choropleth maps of Norway without any geolibraries.

Maintainer
Richard Aubrey White
Latest release
21 Aug 2025
First release
14 Dec 2022

Compare with another package

More details
Releases
3
Needs compilation
No
Needs R
>= 3.5.0
LazyData
true
RoxygenNote
7.3.2
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("csmaps")
APA
White, R. A., CSIDS, & Zhang, C. (2025). csmaps: Preformatted Maps of Norway that Don't Need Geolibraries (Version 2025.8.21) [Computer software]. https://doi.org/10.32614/CRAN.package.csmaps
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for csmaps version 2025.8.21 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    2025.8.21
    Time taken
    103 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    2025.8.21
    Time taken
    80 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    2025.8.21
    Time taken
    73 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    2025.8.21
    Time taken
    77 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    2025.8.21
    Time taken
    138 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    2025.8.21
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    2025.8.21
    Time taken
    83 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    2025.8.21
    Time taken
    132 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    2025.8.21
    Time taken
    76 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    2025.8.21
    Time taken
    77 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    2025.8.21
    Time taken
    29 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    2025.8.21
    Time taken
    95 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    2025.8.21
    Time taken
    123 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (4)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
25 Apr 2026OK12000
10 Mar 2026Note11300

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
553−16.2% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

6,189 of 26,530

CRAN

501 downloads in the last 30 days

Rank
6,189 of 26,530
Change
−20.2% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

41 downloads in the last 30 days

Rank
3,464 of 30,526
Change
+310% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

11 downloads in the last 30 days

Rank
3,876 of 29,212
Change
−50% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
3
Dependent packages
0
Suggested by
1
Needs (3)
Installing it adds
18 packages, 19.3 MB of source
Of those, need compilation
8
Optional extras (8)
Functions
2
Public exports
1
Lines of R code
761
Median complexity
1
Functions (2)
Size and composition

Lines by kind (2,211)

KindLinesShare
R code76134%
Tests90.4%
Documentation88040%
Guides56125%

Lines by language

LanguageLinesShare
Rd88040%
R77035%
Vignettes56125%

Languages are counted from file extensions.

Files
95
R functions
2
Complexity
Median
1
Mean
1
Highest
1
Median lines per function
21.5
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
2
Calls
0
Unconnected
2
Groups
0
Growth (3 releases)
Total lines by release
1,717 on 14 Dec 20222,211 on 21 Aug 2025
Release changes

The tests ran and coverage was measured.

Lines run by tests
37.9%
Expressions run by tests
50%
Test cases
1
Exports named in tests
0%
Coverage by file (2)
Coverage run
Lines counted
29
Lines the tests ran
11
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
1
Lines of tests
9
Test lines per line of code
0.01
Exports documented
100%
Return value documented
0%
Help pages with examples
72.7%
Examples run in checks
100%
Guides (4)
Other documentation
README
Yes, 96 words
Release notes file
Yes
Help pages
11
Lines of documentation
880
DatasetSizeColumns
nor_county_map_b2017_default_dtMaps of Norwegian counties in data.table format4,531 × 5long, lat, order, group, location_code
nor_county_map_b2017_default_sfMaps of Norwegian counties in sf format19 × 2
nor_county_map_b2017_insert_oslo_dtMaps of Norwegian counties with an insert for Oslo in data.table format4,589 × 5long, lat, order, group, location_code
nor_county_map_b2019_default_dtMaps of Norwegian counties in data.table format4,722 × 5long, lat, order, group, location_code
nor_county_map_b2019_default_sfMaps of Norwegian counties in sf format18 × 2
nor_county_map_b2019_insert_oslo_dtMaps of Norwegian counties with an insert for Oslo in data.table format4,780 × 5long, lat, order, group, location_code
nor_county_map_b2020_default_dtMaps of Norwegian counties in data.table format4,479 × 5long, lat, order, group, location_code
nor_county_map_b2020_default_sfMaps of Norwegian counties in sf format11 × 2
nor_county_map_b2020_insert_oslo_dtMaps of Norwegian counties with an insert for Oslo in data.table format4,537 × 5long, lat, order, group, location_code
nor_county_map_b2020_split_dtSplit map of Norwegian counties in data.table format4,537 × 5long, lat, order, group, location_code
nor_county_map_b2024_default_dtMaps of Norwegian counties in data.table format4,579 × 5long, lat, order, group, location_code
nor_county_map_b2024_default_sfMaps of Norwegian counties in sf format15 × 2
More datasets (39)
DatasetSizeColumns
nor_county_map_b2024_insert_oslo_dtMaps of Norwegian counties with an insert for Oslo in data.table format4,637 × 5long, lat, order, group, location_code
nor_county_map_b2024_split_dtSplit map of Norwegian counties in data.table format4,637 × 5long, lat, order, group, location_code
nor_county_position_geolabels_b2017_default_dtMaps of Norwegian counties in data.table format19 × 4location_code, long, lat, repel
nor_county_position_geolabels_b2017_insert_oslo_dtMaps of Norwegian counties with an insert for Oslo in data.table format19 × 4location_code, long, lat, repel
nor_county_position_geolabels_b2019_default_dtMaps of Norwegian counties in data.table format18 × 4location_code, long, lat, repel
nor_county_position_geolabels_b2019_insert_oslo_dtMaps of Norwegian counties with an insert for Oslo in data.table format18 × 4location_code, long, lat, repel
nor_county_position_geolabels_b2020_default_dtMaps of Norwegian counties in data.table format11 × 4location_code, long, lat, repel
nor_county_position_geolabels_b2020_insert_oslo_dtMaps of Norwegian counties with an insert for Oslo in data.table format11 × 4location_code, long, lat, repel
nor_county_position_geolabels_b2020_split_dtSplit map of Norwegian counties in data.table format11 × 4location_code, long, lat, repel
nor_county_position_geolabels_b2024_default_dtMaps of Norwegian counties in data.table format15 × 4location_code, long, lat, repel
nor_county_position_geolabels_b2024_insert_oslo_dtMaps of Norwegian counties with an insert for Oslo in data.table format15 × 4location_code, long, lat, repel
nor_county_position_geolabels_b2024_split_dtSplit map of Norwegian counties in data.table format15 × 4location_code, long, lat, repel
nor_municip_map_b2019_default_dtMaps of Norwegian municipalities in data.table format31,705 × 5long, lat, order, group, location_code
nor_municip_map_b2019_default_sfMaps of Norwegian municipalities in sf format422 × 2
nor_municip_map_b2019_insert_oslo_dtMaps of Norwegian municipalities with an insert for Oslo in data.table format31,763 × 5long, lat, order, group, location_code
nor_municip_map_b2020_default_dtMaps of Norwegian municipalities in data.table format30,601 × 5long, lat, order, group, location_code
nor_municip_map_b2020_default_sfMaps of Norwegian municipalities in sf format356 × 2
nor_municip_map_b2020_insert_oslo_dtMaps of Norwegian municipalities with an insert for Oslo in data.table format30,659 × 5long, lat, order, group, location_code
nor_municip_map_b2020_split_dtSplit map of Norwegian municipalities in data.table format30,601 × 5long, lat, order, group, location_code
nor_municip_map_b2024_default_dtMaps of Norwegian municipalities in data.table format30,601 × 5long, lat, order, group, location_code
nor_municip_map_b2024_default_sfMaps of Norwegian municipalities in sf format356 × 2
nor_municip_map_b2024_insert_oslo_dtMaps of Norwegian municipalities with an insert for Oslo in data.table format30,659 × 5long, lat, order, group, location_code
nor_municip_map_b2024_split_dtSplit map of Norwegian municipalities in data.table format30,601 × 5long, lat, order, group, location_code
nor_municip_position_geolabels_b2019_default_dtMaps of Norwegian municipalities in data.table format422 × 3location_code, long, lat
nor_municip_position_geolabels_b2019_insert_oslo_dtMaps of Norwegian municipalities with an insert for Oslo in data.table format422 × 3location_code, long, lat
nor_municip_position_geolabels_b2020_default_dtMaps of Norwegian municipalities in data.table format356 × 3location_code, long, lat
nor_municip_position_geolabels_b2020_insert_oslo_dtMaps of Norwegian municipalities with an insert for Oslo in data.table format356 × 3location_code, long, lat
nor_municip_position_geolabels_b2024_default_dtMaps of Norwegian municipalities in data.table format356 × 3location_code, long, lat
nor_municip_position_geolabels_b2024_insert_oslo_dtMaps of Norwegian municipalities with an insert for Oslo in data.table format356 × 3location_code, long, lat
nor_xxx_position_title_insert_oslo_b2017_insert_oslo_dtPosition of a title for the Oslo insert1 × 2long, lat
nor_xxx_position_title_insert_oslo_b2019_insert_oslo_dtPosition of a title for the Oslo insert1 × 2long, lat
nor_xxx_position_title_insert_oslo_b2020_insert_oslo_dtPosition of a title for the Oslo insert1 × 2long, lat
nor_xxx_position_title_insert_oslo_b2024_insert_oslo_dtPosition of a title for the Oslo insert1 × 2long, lat
oslo_ward_map_b2020_default_dtMap of Oslo wards (bydeler) in data.table format1,372 × 5long, lat, order, group, location_code
oslo_ward_map_b2020_default_sfMap of Oslo wards (bydeler) in sf format15 × 2geometry, location_code
oslo_ward_map_b2024_default_dtMap of Oslo wards (bydeler) in data.table format1,372 × 5long, lat, order, group, location_code
oslo_ward_map_b2024_default_sfMap of Oslo wards (bydeler) in sf format15 × 2geometry, location_code
oslo_ward_position_geolabels_b2020_default_dtMap of Oslo wards (bydeler) in data.table format15 × 3location_code, long, lat
oslo_ward_position_geolabels_b2024_default_dtMap of Oslo wards (bydeler) in data.table format15 × 3location_code, long, lat
Earlier names (1)
  • Geonorge

csids / csmaps on github.com

Stars
0
Forks
0
Open issues
0
Last commit
23 Dec 2025
Activity
Commits
–
Open pull requests
0
Tagged releases
0
Latest tagged release
–
Issues closed in
–
Pull requests closed in
–
Pull requests merged
–
Created
23 Dec 2025
Licence file reads as
–
Development practices (1)
KindFound
Docs sourceGitHub Pages site last deployed 2025-12-23

Method, repository practices

Across csids

R releases
  • On CRAN
  • Release
VersionReleasedR
2025.8.21 current21 Aug 20254.5.1
2023.5.2223 May 20234.3.0
2022.12.1514 Dec 20224.2.2