ropensci / CoordinateCleaner

Automated flagging of common spatial and temporal errors in biological and palaeontological collection data, for the use in conservation, ecology and palaeontology.
https://docs.ropensci.org/CoordinateCleaner/
79 stars 21 forks source link

updating min_area in cc_cen #17

Closed jhnwllr closed 2 years ago

jhnwllr commented 5 years ago

Updating cc_cen so that users can easily remove provinces or countries that are very small.

I have added a new argument: min_area.

This is used with the CoordinateCleaner::countryref$area_sqkm column to filter out countries and provinces that are considered too small to filter.

For example, countries like Monaco and Vatican City are so small it is probably not worth removing occurrence points that fall near their centroids.

azizka commented 2 years ago

merged to v2.0-20