Last active
November 13, 2021 17:15
-
-
Save Straubinger/d63d815918b78dd63c6e10a02e8944c2 to your computer and use it in GitHub Desktop.
Grid of the districts of Copenhagen to be used with the 'geofacet' R package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This code creates a grid of the districts of Copenhagen to be used with the 'geofacet' R package (https://hafen.github.io/geofacet/) | |
| # Until the grid has been added to the package run the code to use the grid. | |
| dk_cph_grid1 <- data.frame( | |
| row = c(1, 1, 1, 1, 2, 2, 3, 3, 3, 3), | |
| col = c(1, 2, 4, 3, 1, 3, 4, 3, 1, 2), | |
| code = c("7", "8", "2", "3", "6", "1", "9", "10", "5", "4"), | |
| name = c("Brønshøj-Husum", "Bispebjerg", "Østerbro", "Nørrebro", "Vanløse", "Indre By", | |
| "Amager Øst", "Amager Vest", "Valby", "Vesterbro-Kgs. Enghave"), | |
| stringsAsFactors = FALSE | |
| ) | |
| # Preview the grid | |
| grid_preview(dk_cph_grid1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment