I do have a shape file which I can plot to a map.
library(maptools)
area <- readShapePoly("Path/file.shp")
area.points = fortify(area)
map <- ggplot() +
geom_path(data = area.points,
aes(x = long, y = lat, group = group),
color = 'gray', fill = 'white', size = .2)
print(map)
and a list of counties where I know longitude and latitude
counties <- read.csv("./Path/counties.csv)
Is there a way I can find out which county belongs to which Polygon so that I can give the counties on the map different colors?