Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding in checks for suspected wide data style column names #102

Merged
merged 12 commits into from
Dec 5, 2023
Prev Previous commit
Next Next commit
Ran tests
rmbielby committed Dec 4, 2023
commit 78c35dd36ae40c5a1e80283341430a11e4093142
6 changes: 3 additions & 3 deletions R/mainTests.r
Original file line number Diff line number Diff line change
@@ -2737,8 +2737,8 @@ indicators_smushed <- function(meta) {
common_filter_substrings <- c(
"male", "female",
"asian", "chinese", "indian", "pakistani", "bangladeshi",
"black", "african", "caribbean",
"white", "roma", "irish", "english", "british", "scottish", "welsh", "northern irish",
"black", "african", "caribbean",
"white", "roma", "irish", "english", "british", "scottish", "welsh", "northern irish",
"arab"
)

@@ -2755,7 +2755,7 @@ indicators_smushed <- function(meta) {
"The following indicators appear to not conform to tidy data principles: ",
paste(indicator_names, collapse = ", "),
". We recommend pivoting your data longer and adding a filter to contain characteristic choices. ",
"Please ","<a href='mailto: explore.statistics@education.gov.uk'>contact us</a>"," for support on tidy data structures."
"Please ", "<a href='mailto: explore.statistics@education.gov.uk'>contact us</a>", " for support on tidy data structures."
),
"result" = "FAIL"
)