The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

csmaps

Richard Aubrey White, Chi Zhang

2021-01-15

csmaps is a package for map visualisation developed by members of CSIDS. The package contains map data for Norway at different levels geographic granularity and layout.

library(csmaps)
#> csmaps 2023.5.22
#> https://www.csids.no/csmaps/
library(ggplot2)
library(data.table)
library(magrittr)

A map with the default layout can be made in this way. For more advanced layout and customization, see the relevant documentation vignettes.

pd <- copy(csmaps::nor_municip_map_b2024_default_dt)
q <- ggplot()
q <- q + geom_polygon(
  data = pd,
  aes( 
    x = long,
    y = lat,
    group = group
  ), 
  color="black", 
  fill="white",
  linewidth = 0.2
)
q <- q + theme_void()
q <- q + coord_quickmap()
q <- q + labs(title = "Default layout")
q

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.