You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran around in circles yesterday trying to figure out how to pull out a list of the usageKey associated with my list of taxa that would include homotypic synonyms but not species with similar names. I finally figured out that adding a filter with matchTYPE=='EXACT' acheived what I needed. If I did not make an error in my method, I suggest adding the following information to the vignette (which I had initially followed and found generally useful) under Too many choices problem after lines 114. I expect my terminology isn't completely accurate but shows that jist of what I think might be helpful to users like me.
For species that have similar names to other species, verbose=TRUE will return multiple taxa that are different species than the initial query. For example, Lobelia kalmii with verbose=TRUE will return two entries for that species as well as an entry for Lobelia halei.
name_backbone("Lobelia kalmii",verbose=TRUE)
#Lobelia kalmii L.
#Lobelia kalmii Bart.
#Lobelia halei Small
Retreiving only the target species with the same name while accepting different authorship can be acheived with a filter on matchType=='EXACT'.
name_backbone("Lobelia kalmii",verbose=TRUE)%>%filter(matchType=='EXACT')
#Lobelia kalmii L.
#Lobelia kalmii Bart.
Session Info
The text was updated successfully, but these errors were encountered:
I ran around in circles yesterday trying to figure out how to pull out a list of the usageKey associated with my list of taxa that would include homotypic synonyms but not species with similar names. I finally figured out that adding a filter with
matchTYPE=='EXACT'
acheived what I needed. If I did not make an error in my method, I suggest adding the following information to the vignette (which I had initially followed and found generally useful) under Too many choices problem after lines 114. I expect my terminology isn't completely accurate but shows that jist of what I think might be helpful to users like me.Session Info
The text was updated successfully, but these errors were encountered: