Skip to contents

Print clusters of municipalities in Norway between from_year and to_year. Municipalities that remains unchanged, not merged or split, are not listed.

Usage

print_clusters(from_year, to_year)

Arguments

from_year

years equal to or above.

to_year

years lower or equal to.

Value

A data frame/data.table listing municipality numbers with corresponding cluster ids.

Examples

print_clusters(1980, 2000)
#>     muni_number      cluster
#>  1:         102 cluster_0001
#>  2:         114 cluster_0001
#>  3:         115 cluster_0001
#>  4:         130 cluster_0001
#>  5:         103 cluster_0002
#>  6:         113 cluster_0002
#>  7:         131 cluster_0002
#>  8:         133 cluster_0002
#>  9:         134 cluster_0002
#> 10:        1940 cluster_0003
#> 11:        2011 cluster_0004
#> 12:        2021 cluster_0005
#> 13:        2025 cluster_0006
#> 14:         105 cluster_0001
#> 15:         106 cluster_0002