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

Matching messy species lists that include names that are not binomial names #53

Open
sojwolf opened this issue Jun 7, 2024 · 0 comments

Comments

@sojwolf
Copy link

sojwolf commented Jun 7, 2024

I am trying to join two large and not perfectly curated data frames. LCVPlants seems to be the perfect solution, however, I get the following warning:

x <- lcvp_join(df1, df2, c("Species", "species"), type = "inner")

Warning: The 'x' sign indicating hybrids have been removed in the following names before search: 'Abelia x', 'Acaena x', 'Aconitum x', 'Amaranthus x', 'Anguloa x', 'Arbutus x', 'Aronia x', 'Asplenium x', 'Aster x', 'Betula x', 'Bromus x', 'Calceolaria x', 'Canna x', 'Carex x', 'Cerasus x', 'Circaea x', 'Citrus x', 'Clinopodium x', 'Colutea x', 'Coptidium x', 'Crataegus x', 'Cupressus x', 'Dactylorhiza x', 'Diphasiastrum x', 'Drosera x', 'Dryopteris x', 'Elymus x', 'Equisetum x', 'Erodium x', 'Erysimum x', 'Eucalyptus x', 'Fagus x', 'Forsythia x', 'Fragaria x', 'Galium x', 'Glandularia x', 'Glyceria x', 'Hebe x', 'Hieracium x', 'Hypericum x', 'Iris x', 'Laburnum x', 'Larix x', 'Lolium x', 'Lonicera x', 'Magnolia x', 'Malus x', 'Medicago x', 'Mentha x', 'Narcissus x', 'Nasturtium x', 'Nepeta x', 'Nothofagus x', 'Nymphaea x', 'Ocimum x', 'Opuntia x', 'Picea x', 'Pistacia x', 'Platanus x', 'Polygonatum x', 'Polypodium x', 'Populus x', 'Potamogeton x', 'Potentilla x', 'Pyrus x', 'Quercus x', 'Reynou [... truncated]
Error: splist should include only binomial names, please check the following names: 'Abelia x', 'Acaena x', 'Aconitum x', 'Amaranthus x', 'Anguloa x', 'Arbutus x', 'Aronia x', 'Asplenium x', 'Aster x', 'Betula x', 'Bromus x', 'Calceolaria x', 'Canna x', 'Carex x', 'Cerasus x', 'Circaea x', 'Citrus x', 'Clinopodium x', 'Colutea x', 'Coptidium x', 'Crataegus x', 'Cratoxylon', 'Cupressus x', 'Dactylorhiza x', 'Diphasiastrum x', 'Drosera x', 'Dryopteris x', 'Elymus x', 'Equisetum x', 'Erodium x', 'Erysimum x', 'Erythroxylum cf.', 'Eucalyptus x', 'Eugenia cf.', 'Fagus x', 'Ficus cf.', 'Forsythia x', 'Fragaria x', 'Galium x', 'Glandularia x', 'Glyceria x', 'Guatteria cf.', 'Hebe x', 'Hieracium x', 'Hypericum x', 'Iris x', 'Laburnum x', 'Larix x', 'Lolium x', 'Lonicera x', 'Magnolia x', 'Malus x', 'Medicago x', 'Mentha x', 'Milletia cf.', 'Narcissus x', 'Nasturtium x', 'Neea cf.', 'Nepeta x', 'Nothofagus x', 'Nymphaea x', 'Ocimum x', 'Opuntia x', 'Philodendron cf.', 'Picea x', 'Pistacia x', '

Is there a way to simply skip names that don't fit the requirements? The species lists are too long to manually go through everything. That would be very helpful. Thank you!

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

1 participant