Skip to content

Managing Organisations

Sym Roe edited this page Nov 9, 2022 · 4 revisions

Sometimes we need to make changes to electoral organisations. These are generally bespoke rather than following a cleanly defined repeatable process, so we manage them through https://elections.democracyclub.org.uk/admin/

When creating new organisations, consider the slug that's going to be used in IDs. We generally avoid "the" in the slug.

When we create a new organisation, we also need to:

  • Create an OrganisationGeography record (via /admin)
  • Attach a boundary to that OrganisationGeography record (on the console)
  • Create a DivisionSet if applicable (via /admin) and add some divisions to it (on the console). Most organisations should have divisions but some (police areas, combined authorities) don't need them. If its a new local authority in England, the first DivisionSet can be created by running import_divisionsets_from_csv with a start date specified in the CSV.
  • Create at least one ElectedRole object (via /admin). All organisations need at least one. Some organisations may have >1 ElectedRoles (e.g: councillor and mayor)

If any of these things should be there but are missing, one of the problem reports can tell us about it: