diff --git a/Readme.md b/Readme.md index feec504..456ea2b 100644 --- a/Readme.md +++ b/Readme.md @@ -35,7 +35,7 @@ The "short" named is created by taking the electorate name and removing the word The file can be generated using the `jq` tool and the VEC data: ``` -jq '[.[] | {name: .electorateName, electorateId: .electorateId, shortName: .parentElectorateName | match("(.*?)(?:(?: Rural)?(?: City| Shire) Council)").captures[0].string, parentElectorateId: .parentElectorateId, councilName: .parentElectorateName }] | group_by(.parentElectorateId) | map({shortName: .[0].shortName, slug: .[0].shortName | ascii_downcase | split(" ") | join("-"), councilName: .[0].councilName, wardNames: . | map(.name) }) | sort_by(.shortName)' "VEC Data\wards.json" > council_names.json +jq '[.[] | {name: .electorateName, electorateId: .electorateId, shortName: .parentElectorateName | match("(.*?)(?:(?: Rural)?(?: City| Shire| Borough) Council)").captures[0].string, parentElectorateId: .parentElectorateId, councilName: .parentElectorateName }] | group_by(.parentElectorateId) | map({shortName: .[0].shortName, slug: .[0].shortName | ascii_downcase | split(" ") | join("-"), councilName: .[0].councilName, wardNames: . | map(.name) }) | sort_by(.shortName)' "VEC Data\wards.json" > council_names.json ``` ## lga-links-filter diff --git a/council_names.json b/council_names.json index e0a1fea..85fc146 100644 --- a/council_names.json +++ b/council_names.json @@ -786,6 +786,14 @@ "Beaufort" ] }, + { + "shortName": "Queenscliffe", + "slug": "queenscliffe", + "councilName": "Queenscliffe Borough Council", + "wardNames": [ + "Unsubdivided" + ] + }, { "shortName": "South Gippsland", "slug": "south-gippsland",