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

waarneming now has trailing whitespace by default, tripping multiple value detection #152

Closed
PietrH opened this issue Jan 22, 2024 · 0 comments · Fixed by #153
Closed

waarneming now has trailing whitespace by default, tripping multiple value detection #152

PietrH opened this issue Jan 22, 2024 · 0 comments · Fixed by #153
Assignees
Labels
bug Something isn't working

Comments

@PietrH
Copy link
Member

PietrH commented Jan 22, 2024

          Records with multiple values for `Waarneming` are currently removed until #23 is fixed, however, this is detected on a separator including a space. This separator seems to be present in a lot of records even if there aren't multiple values. 

Remove occurrences containing multiple type - value pairs information in column waarneming (patch until #23 is solved):

#remove records with multiple values for waarneming
input_data %<>%
  filter(is.na(.data$waarneming) | 
           !str_detect(.data$waarneming, pattern = "; "))

Originally posted by @PietrH in #151 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant