Package: csmaps 2025.8.21

csmaps: Preformatted Maps of Norway that Don't Need Geolibraries

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.

Authors:Richard Aubrey White [aut, cre], Chi Zhang [aut], CSIDS [cph]

csmaps_2025.8.21.tar.gz
csmaps_2025.8.21.zip(r-4.7)csmaps_2025.8.21.zip(r-4.6)csmaps_2025.8.21.zip(r-4.5)
csmaps_2025.8.21.tgz(r-4.6-any)csmaps_2025.8.21.tgz(r-4.5-any)
csmaps_2025.8.21.tar.gz(r-4.7-any)csmaps_2025.8.21.tar.gz(r-4.6-any)
csmaps_2025.8.21.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
csmaps/json (API)

# Install 'csmaps' in R:
install.packages('csmaps', repos = c('https://raubreywhite.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/csids/csmaps/issues

Datasets:

On CRAN:

Conda:

3.93 score 1 stars 43 scripts 744 downloads 1 exports 18 dependencies

Last updated from:412cfd2bef. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK154
source / vignettesOK206
linux-release-x86_64OK136
macos-release-arm64OK121
macos-oldrel-arm64OK98
windows-develOK102
windows-releaseOK79
windows-oldrelOK118
wasm-releaseOK115

Exports:annotate_oslo_nor_map_bxxxx_split_dt

Dependencies:clicpp11data.tablefarverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr

Customize your maps
Colored maps | Automatic coloring by location_code | Customized coloring with external information | Labeled maps | Enrich plot with additional data | Add county name and population to Norway map | Add location name for ward and population for Oslo map

Last update: 2025-08-21
Started: 2022-12-14

Introduction

Last update: 2025-08-21
Started: 2022-12-14

Layout
Naming scheme | Scope | Geogranularity | Type | Border | R class | Norway: default | Norway: split | Norway: insert oslo | Oslo ward: default

Last update: 2025-08-21
Started: 2022-12-14

Interactive maps
sf for interactive maps

Last update: 2023-05-23
Started: 2022-12-14

Readme and manuals

Help Manual

Help pageTopics
Maps of Norwegian counties in data.table formatnor_county_map_b2017_default_dt nor_county_map_b2019_default_dt nor_county_map_b2020_default_dt nor_county_map_b2024_default_dt nor_county_map_bxxxx_default_dt nor_county_position_geolabels_b2017_default_dt nor_county_position_geolabels_b2019_default_dt nor_county_position_geolabels_b2020_default_dt nor_county_position_geolabels_b2024_default_dt
Maps of Norwegian counties in sf formatnor_county_map_b2017_default_sf nor_county_map_b2019_default_sf nor_county_map_b2020_default_sf nor_county_map_b2024_default_sf nor_county_map_bxxxx_default_sf
Maps of Norwegian counties with an insert for Oslo in data.table formatnor_county_map_b2017_insert_oslo_dt nor_county_map_b2019_insert_oslo_dt nor_county_map_b2020_insert_oslo_dt nor_county_map_b2024_insert_oslo_dt nor_county_map_bxxxx_insert_oslo_dt nor_county_position_geolabels_b2017_insert_oslo_dt nor_county_position_geolabels_b2019_insert_oslo_dt nor_county_position_geolabels_b2020_insert_oslo_dt nor_county_position_geolabels_b2024_insert_oslo_dt
Split map of Norwegian counties in data.table formatannotate_oslo_nor_map_bxxxx_split_dt nor_county_map_b2020_split_dt nor_county_map_b2024_split_dt nor_county_map_bxxxx_split_dt nor_county_position_geolabels_b2020_split_dt nor_county_position_geolabels_b2024_split_dt
Maps of Norwegian municipalities in data.table formatnor_municip_map_b2019_default_dt nor_municip_map_b2020_default_dt nor_municip_map_b2024_default_dt nor_municip_map_bxxxx_default_dt nor_municip_position_geolabels_b2019_default_dt nor_municip_position_geolabels_b2020_default_dt nor_municip_position_geolabels_b2024_default_dt
Maps of Norwegian municipalities in sf formatnor_municip_map_b2019_default_sf nor_municip_map_b2020_default_sf nor_municip_map_b2024_default_sf nor_municip_map_bxxxx_default_sf
Maps of Norwegian municipalities with an insert for Oslo in data.table formatnor_municip_map_b2019_insert_oslo_dt nor_municip_map_b2020_insert_oslo_dt nor_municip_map_b2024_insert_oslo_dt nor_municip_map_bxxxx_insert_oslo_dt nor_municip_position_geolabels_b2019_insert_oslo_dt nor_municip_position_geolabels_b2020_insert_oslo_dt nor_municip_position_geolabels_b2024_insert_oslo_dt
Split map of Norwegian municipalities in data.table formatnor_municip_map_b2020_split_dt nor_municip_map_b2024_split_dt nor_municip_map_bxxxx_split_dt
Position of a title for the Oslo insertnor_xxx_position_title_insert_oslo_b2017_insert_oslo_dt nor_xxx_position_title_insert_oslo_b2019_insert_oslo_dt nor_xxx_position_title_insert_oslo_b2020_insert_oslo_dt nor_xxx_position_title_insert_oslo_b2024_insert_oslo_dt
Map of Oslo wards (bydeler) in data.table formatoslo_ward_map_b2020_default_dt oslo_ward_map_b2024_default_dt oslo_ward_map_bxxxx_default_dt oslo_ward_position_geolabels_b2020_default_dt oslo_ward_position_geolabels_b2024_default_dt
Map of Oslo wards (bydeler) in sf formatoslo_ward_map_b2020_default_sf oslo_ward_map_b2024_default_sf oslo_ward_map_bxxxx_default_sf