Note that ISO 3166-2:NZ provides codes for these (except South Canterbury), maybe better than using names as keys? https://en.wikipedia.org/wiki/ISO_3166-2:NZ