Hi. Why does the following not work, despite being one of the vignettes?
library(usmap)
library(ggplot2)
df <- data.frame(
fips = c("10001", "10003", "10005"),
values = c(93, 98, 41)
)
plot_usmap(data = df)
Error in [.data.frame(map_df, , values) : undefined columns selected
Calls: ... scales_add_defaults -> lapply -> FUN -> [ -> [.data.frame
Execution halted