Nothing
st_erase_overlaps()
not correctly removing overlaps when
a protected area are completely contained within another (#73).wdpa_clean()
to be more robust (#68).wdpa_fetch()
when PhantomJS is not
installed (#63).wdpa_fetch()
documentation to provide information on out of date
warnings (#59).wdpa_fetch()
warnings to be more descriptive and use the cli
package for consistent alert messages.wdpa_fetch()
function to use the webdriver package for obtaining data
(replacing Rselenium package as a dependency) (#63).st_repair_geometry()
to be more robust.st_repair_geometry()
function.wdpa_clean()
function.read_sf_n
to import data faster.wdpa_clean
to format the PA_DEF
column to indicate
if each area is a protected area (per IUCN and CBD protected area definitions)
or an other effective area-based conservation measure (OECM).wdpa_fetch
with new check_version
argument to specify if
the version of cached data should be checked against the latest version
available online.wdpa_clean
to not throw an unnecessary and confusing warning message
when attempting to clean data that do not contain any valid polygon
geometries.wdpa_read
to ensure that all data from global database.
This is a bug previously meant that protected areas denoted with polygon
geometry data were not imported. It is strongly recommended that users
double check processed versions of the global database to verify correctness.inst/scripts/global-example-script.R
)st_repair_geometry
function to repair geometry using a combination
of sf::st_make_valid
and prepr::st_prepair
. This function is now
used by the wdpa_clean
function to augment data cleaning procedures.wdpa_url
and wdpa_fetch
to have a page_wait
parameter
to specify the wait time for loading web pages when finding the download
URLs for datasets (#39).wdpa_clean
to provide better information when cleaning data.wdpa_dissolve
function to dissolve geometries together (#22).wdpa_url
function to be compatible with changes on
https://www.protectedplanet.net/en for downloading country-level datasets.wdpa_fetch
function to conform with CRAN policies. Specifically,
data are now always saved in a temporary directory by default.wdpa_url
function to be compatible with changes on
https://www.protectedplanet.net/en.wdpa_read
function to be compatible with new global dataset format.st_erase_overlaps
function to be more resilient against topology
errors (#33).wdpa_clean
function with new retain_status
parameter to specify
which protected areas should be retained during the cleaning process (#33).
Defaults to a character
vector containing "Designated"
, "Inscribed"
,
"Established"
to indicate that protected areas with these status
(i.e. per "STATUS"
column) are retained. Thus the default behavior from
previous versions remains unchanged.wdpa_clean
with new exclude_unesco
parameter to specify if
UNESCO Biosphere Reserves should be included (#33). Defaults to TRUE
such
that default behavior remains unchanged from previous versions.wdpa_read
function to be compatible with changes to global
dataset (#31).wdpa_fetch
function to be compatible with changes to Protected
Planet website for downloading global dataset.wdpa_clean
documentation (#28).wdpa_clean
documentation (#29).wdpa_latest_version
function for determining the latest version of the
dataset.wdpa_read
so that it is compatible with the new data format provided
by https://www.protectedplanet.net/en.st_erase_overlaps
so that overlapping geometries are
clearly shown.--run-donttest
).st_erase_overlaps
so that it is more robust to geometry issues.lwgeom
package version 0.2-3 (#24).lwgeom
and sf
package version requirements.wdpa_clean
function now returns an empty result (i.e. sf
object with
zero rows) for countries that do not have any protected areas represented by
spatially valid non-empty geometries (e.g. Somalia in February 2020, #19).wdpa_clean
function.wdpa_clean
function more robust to typology issues (#20).wdpa_clean
(#21).wdpa_clean
so that it works with a single protected area.st_erase_overlaps
.wdpa_clean
so that it works with shapefiles that do not have geometry
stored in the geometry
column (e.g. global data).st_erase_overlaps
so that it has a higher success rate for
really invalid geometries (e.g. protected areas for Gabon).Summary: ElementNotVisible
bug (#8).wdpa_fetch
when force = TRUE
.wdpa_clean
documentation (#5; @rungec).wdpa_clean
help page, regarding the
buffering of point localities.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.