We conveniently package map datasets for Norwegian county (taken from Geonorge) that can be used in ggplot2 without needing any geo libraries. This data is licensed under Creative Commons BY 4.0 (CC BY 4.0).

norway_nuts3_map_b2020_default_dt

norway_nuts3_position_geolabels_b2020_default_dt

Format

long

Location code.

lat

Location name.

order

The order that this line should be plotted in.

group

Needs to be used as 'group' aesthetic in ggplot2.

location_code

Location code (county code).

An object of class data.table (inherits from data.frame) with 11 rows and 3 columns.

Source

https://kartkatalog.geonorge.no/metadata/norske-fylker-og-kommuner-illustrasjonsdata-2020-(klippet-etter-kyst)/7408853f-eb7d-48dd-bb6c-80c7e80f7392

Examples

library(ggplot2) q <- ggplot(mapping = aes(x = long, y = lat)) q <- q + geom_polygon( data = fhimaps::norway_nuts3_map_b2020_default_dt, mapping = aes(group = group, fill = location_code), color = "black", fill = "white", size = 0.2 ) q <- q + geom_label( data = fhimaps::norway_nuts3_position_geolabels_b2020_default_dt, mapping = aes(label = location_code), color = "red" ) q <- q + theme_void() q <- q + coord_quickmap() q