x <- example_dataset()
# Update taxonomic information for "Anas platyrhynchos"
updated_x <- update_taxon(
x,
from = "Anas platyrhynchos",
to = list (
scientificName = "Anas platyrhynchos",
taxonID = "https://www.checklistbank.org/dataset/COL2023/taxon/DGP6",
taxonRank = "species",
vernacularNames.fra = "canard colvert"
)
)
# Lump "Ardea cinerea" into already present "Ardea", using the provided info
updated_x <- update_taxon(
x,
from = "Ardea cinerea",
to = list(scientificName = "Ardea", vernacularname.fra = "grands hérons")
)
Run the code above in your browser using DataLab