data(lemurs_test)
require(maptools)
#run all tests
data(wrld_simpl)
data(countryref)
test <- GeoClean(lemurs_test, GBIFhead = TRUE,
countrycentroid = TRUE, contthresh = 0.5,
capitalcoords = TRUE, capthresh = 0.5,
countrycheck = FALSE, outp = "cleaned")
insidecountry <- GeoClean(test, isna = FALSE, isnumeric = FALSE,
coordinatevalidity = FALSE,
containszero = FALSE, zerozero = FALSE,
latequallong = FALSE, GBIFhead = FALSE,
countrycentroid = FALSE,
contthresh = 0.5, capitalcoords = FALSE,
capthresh = 0.5, countrycheck = TRUE,
polygons = wrld_simpl)
#outp = "detailed"
test <- GeoClean(lemurs_test, GBIFhead = TRUE,
countrycentroid = TRUE, contthresh = 0.5,
capitalcoords = TRUE, capthresh = 0.5,
countrycheck = FALSE, outp = "detailed")
Run the code above in your browser using DataLab