Enforce the uniqueness of a plan URL within the scope of a council
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 12
- Forks
- 2
- Avg merge
- 13d 3h
- Merged PRs (30d)
- 1
Description
The same plan URL should not appear more than once in the data for the same council, although the same plan URL can appear for a different council e.g. Adur and Worthing councils share a climate action plan.
The existence of the same plan URL more than once for the same council has happened a few times in the spreadsheet (presumably different people adding a row and not looking at the existing rows), so seems worth adding a constraint for, so this will be picked up when we update the data in the database from the spreadsheet.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the spreadsheet-to-database update path described in the issue. Add enforcement so a plan URL may occur once per council but may be reused by different councils; done means duplicate rows for one council are rejected while the Adur and Worthing example remains valid.
Written by the indexing model from the issue text.
Assessment
- Domain
- database
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100