mutate(Status_correct=fct_explicit_na(Status_correct, "No suitable matches found.")) %>%
#Create Name_correct field. Use Accepted names, if any. Otherwise matched names.
...
...
@@ -1338,13 +1350,12 @@ Backbone <- Backbone %>%
summary(Backbone$Status_correct)
summary(Backbone$Rank_correct)
```
There are `r sum(is.na(Backbone$Name_correct))` species names for which we found no match in any of the taxonomic resources we used. Yet, for as many as `r sum(Backbone$Rank_correct %in% c("higher", "family", "genus"))` taxa, the matching did not properly resolve the species name, and we only found a match at genus or higher level.
## Complete list of families
There are `r sum(is.na(Backbone$Accepted_name_family))` records with missing family information.
### Derive info from other species of the same Genera in the Backbone itself
Copy family info for taxa resolved at family level.
There are `r sum(is.na(Backbone$Accepted_name_family))` records with missing family information. Create field `Family_correct`.
After matching the remaining genera with the Catalogue of life there are still `r nrow(Backbone %>% filter(is.na(Family_correct)))` records without Family affiliation, for a total of `r nrow(Backbone %>% filter(is.na(Family_correct)) %>% dplyr::select(Genus_correct) %>% distinct())` genera.
Shorten names that have more than two words and where the second word is a x. If there is no species name available, fill in with either genus or family info