Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hillarymarler
Copy link
Collaborator

Added a "clean" option for TADA_AutoFilter. Now clean = FALSE means that no rows are removed. Instead,, a TADA.AutoFilter.Flag column is added. When clean = TRUE, the results identified by the function are removed.

I was not sure where to add the new flag column in RequiredCols.R. Currently it is that last item in the Result Quality section.

@hillarymarler hillarymarler linked an issue Jul 2, 2025 that may be closed by this pull request
8 tasks
R/autoFilter.R Outdated
" contain only NA values. This may impact other TADA functions."))
} else {
print("All TADA Required columns contain some non-NA values.")
print("TADA_AutoFilterAll TADA Required columns contain some non-NA values.")
Copy link
Collaborator

@cristinamullin cristinamullin Jul 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add colon?

@hillarymarler
Copy link
Collaborator Author

I need to make additional changes based on the discussion from today's team meeting. These include:

  1. Rework TADA_AutoFilter so its only task is to remove non-required cols filled with only NAs
  2. Add the Text and NA result flags as part of TADA_ConvertSpecialChars
  3. Add a clean option to TADA_ConvertSpecialChars

@cristinamullin cristinamullin merged commit 95b0216 into develop Jul 10, 2025
4 of 7 checks passed
@cristinamullin cristinamullin deleted the 613-tada_autofilter-should-generate-a-flag-column branch July 10, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TADA_AutoFilter should generate a flag column

3 participants