ScotGovAnalysis / ScotGovAnalysis/cssampling
Add built-in checks
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Perform checks in R scripts to ensure there is nothing weird going on with the data. For example, check that all local authorities have at least 1,000 addresses in the cleaned postcode address file. If this is not the case, stop executing the script and display an informative error message.
Start with built-in checks from the SAS scripts and add additional ones if appropriate.
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
Review the R scripts alongside the existing SAS scripts to identify the built-in data checks, starting with the cleaned postcode address file and the local-authority address threshold. Run the relevant R script to observe its current validation flow. Done means the checks detect invalid data, stop execution, and display informative errors, including when an authority has fewer than 1,000 addresses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100