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

Add functionality: select NA chars #675

Closed
ehwenk opened this issue Feb 23, 2023 · 1 comment
Closed

Add functionality: select NA chars #675

ehwenk opened this issue Feb 23, 2023 · 1 comment

Comments

@ehwenk
Copy link
Collaborator

ehwenk commented Feb 23, 2023

In many studies there are "filled characters" used to represent NA. Currently these have to be converted to NA's in the custom_R_code using `~ na_if(.x, "character").

This function has gotten fussier with dplyr 1.1.0, no longer allowing mass substitutions across a mix of character and numeric columns. It might be better to specify within the metadata.yml file specific characters that are NA's for a given study.

This would be included as another optional field in metadata$dataset, probably appearing right before the custom_R_code.

@dfalster
Copy link
Member

Moved to traitecoevo/traits.build#12

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

No branches or pull requests

2 participants