📅  最后修改于: 2022-03-11 14:51:59.805000             🧑  作者: Mango
parts %>%
count(part_cat_id) %>%
right_join(part_categories, by = c("part_cat_id" = "id")) %>%
# Use replace_na to replace missing values in the n column
replace_na(list(n = 0))