-
Notifications
You must be signed in to change notification settings - Fork 1
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
Adapt verify_taxa() #21
Conversation
Change mandatory column names everywhere needed.
I have to change something more than column names unfortunately. |
Case of taxon in three datasets has never been studied.
typos, new rows in dfs in example improve documentation of @return (three elements of list missed)
Bug related to issues: solved. |
A little bug emerged while looking in more detail. See issue #23. |
Based on trias-project/unified-checklist#14 (comment) i should simplify this function: in particular, no multiple comma separated checklists anymore for taxa present in multiple checklists. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed in trias-project/unified-checklist#17
New structure output (#24) and many other changes...
Better indentation of itemized elements
Changing name and solve bugs about outdated taxa
Unit-tests added as well in this commit.
devtools::document()
@peterdesmet : time to give a look back to the PR. I think I did all changes we discussed. Here a synthesis about the functionality of The scope of this PR is the improvement of function The function reads two dataframes,
Main features of the function:
Unit-tests has been written in two files: @peterdesmet : please pull and test! Thanks. |
empty strings should also be removed from GBIF checks.
Some if nrow() > 0 else added
if no taxa_to_verify is given
…trias into adapt-verify_taxa
Getting an error in which additional columns of input df
These columns should just be ignored (and remain in output df). |
Extra columns in taxa should be preserved in output
Problem due to Mac OS and Windows carriage return differences.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
verify_taxa()
has been adapted in order to match new mandatory column names:checklist_scientificName
scientificName
backbone_scientificName
bb_scientificName
backbone_taxonomicStatus
bb_taxonomicStatus
backbone_acceptedName
bb_acceptedName
backbone_Key
bb_key
backbone_acceptedKey
bb_acceptedKey
backbone_kingdom
bb_kingdom
backbone_issues
issues
./tests/testthat/test-input_verify_taxa.R
./tests/testthat/test-input_verify_taxa.R
verify_taxa()
in./tests/testthat/data_test_output_verify_taxa/
devtools::document()