We need to separate bats from other mammals. Additionally, we need to be more precise about our definition of mammals, since there is no need to have carnivores or artiodactyls in there. We also want to be able to distinguish woodpeckers from the rest of the birds.
What changes have been made?
data/external/focalTaxa.csv - mammals have been split up into relevant groups. There is no need to introduce polyphyla since we can fit all relevant mammals into 4 orders and one family.
functions/matchBackboneKeys.R - This function now looks at the most precise taxonomic level FIRST to see if we have its code in our taxa list. This is so that woodpeckers will be first identified as woodpeckers, and not as birds.
pipeline/import/utils/formatScheduledDownload.R - Same thing as above
Additional changes
pipeline/import/initialiseRepository.R - I had previously made a mistake here. The previous code only worked if there was one taxa code that was FALSE; this version checks whether there are any missingKeys. If there aren't it skips the section.
Why have changes been made?
We need to separate bats from other mammals. Additionally, we need to be more precise about our definition of mammals, since there is no need to have carnivores or artiodactyls in there. We also want to be able to distinguish woodpeckers from the rest of the birds.
What changes have been made?
Additional changes