I am trying to report how often a district is showing up in my bride price sample. But I think when a district does't have any reports or NAs, then the frequency == 0 so the district is still being coloured. I want to show districts with NAs as grey coloured.
bp_dist1 <- joined1 |>
group_by(ADM2_EN) |>
mutate(freq = n()) |>
ggplot() +
geom_sf(aes(fill = freq), na.rm=T) +
scale_fill_gradient(low = "coral", high = "coral4") +
theme(rect = element_blank(), axis.text.x = element_blank(),
axis.text.y = element_blank(), axis.ticks = element_blank(),
axis.title.x = element_blank(), axis.title.y = element_blank()) +
guides(fill = guide_colourbar(
title = "Frequency of bride price reports", title.theme = element_text(size = 8),
label.theme = element_text(size = 7)
))