A SpatialPolygonsDataFrame with global coastlines.

Source

http://www.naturalearthdata.com/downloads/10m-physical-vectors/

Note

Most of the times it might be desirable to only flag records far away from the coast as problematic rather than those close to the coastline (which might be due to disagreements in coastlines, or low GPS uncertainty). For these cases, there is a alternative coastline reference buffered by one degree available at https://github.com/azizka/CoordinateCleaner/tree/master/extra_gazetteers.

Examples

data("landmass")