This is what my data looks like: Data
I want to draw a map for state of Hawaii, where each latitude and longitude is a marker of different color based on the category in dummy, and then a legend based on that dummy column value.
The furthest I have gone is using this attempt, where cleanData is the name of my dataframe.
test_data <- data.frame(lon = cleanData$Longitude, lat = cleanData$Latitude)
transformed_data <- usmap_transform(test_data)
plot_usmap(include = c("HI")) +
geom_point(data = transformed_data,
aes(x = x, y = y),
color = "red",
size = 1)