Closed Acanthiza closed 2 months ago
bio_taxa <- df %>% dplyr::distinct(original_name) %>% dplyr::left_join(taxonomy$lutaxa) %>% dplyr::left_join(taxonomy$taxonomy) %>% dplyr::filter(!is.na(taxa)) %>% dplyr::filter(rank <= required_rank) %>% dplyr::inner_join(df)
At this step, if taxa_col is taxa, any non-matching taxa are lost. Perhaps rename taxa_col in df to original_name?
taxa_col
taxa
df
original_name
Closing as filter_taxa deprecated for bin_taxa
bio_taxa <- df %>% dplyr::distinct(original_name) %>% dplyr::left_join(taxonomy$lutaxa) %>% dplyr::left_join(taxonomy$taxonomy) %>% dplyr::filter(!is.na(taxa)) %>% dplyr::filter(rank <= required_rank) %>% dplyr::inner_join(df)
At this step, if
taxa_col
istaxa
, any non-matchingtaxa
are lost. Perhaps renametaxa_col
indf
tooriginal_name
?