wdpar 1.3.2
- CRAN release.
- Update
read_sf_n to import data faster.
- Remove withr R package from DESCRIPTION because it is not used.
wdpar 1.3.1.6
- Update
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).
- Update documentation to make it clear that data obtained from Protected Planet include both the World Database on Protected Areas (WDPA) and the World Database on Other Effective Area-Based Conservation Measures (WDOECM).
- Update citation information to follow recommended citations for the World Database on Protected Areas (WDPA) and the World Database on Other Effective Area-Based Conservation Measures (WDOECM).
- Update URLs to pass CRAN checks.
wdpar 1.3.1.5
- Update
wdpa_fetch with new check_version argument to specify if the version of cached data should be checked against the latest version available online.
- Update
wdpa_clean to not throw an unnecessary and confusing warning message when attempting to clean data that do not contain any valid polygon geometries.
wdpar 1.3.1.4
- Fix bug in
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.
- Add example script for downloading and cleaning data (see
inst/scripts/global-example-script.R)
- New
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.
- Update
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).
- Add dplyr package to Suggests because it is used in an example.
wdpar 1.3.1.3
- Update
wdpa_clean to provide better information when cleaning data.
- Update documentation to provide guidelines for processing global dataset.
- New
wdpa_dissolve function to dissolve geometries together (#22).
wdpar 1.3.1.2
- Fix tests that fail package checks given only strict dependencies.
- Update citation information in README and vignette.
wdpar 1.3.1.1
wdpar 1.3.1
- CRAN release.
- Remove LazyData from DESCRIPTION since it is not used.
- Remove tools R package from DESCRIPTION since it is not used.
wdpar 1.3.0.2
- Update
wdpa_fetch function to conform with CRAN policies. Specifically, data are now always saved in a temporary directory by default.
- Update code in README for downloading developmental version from GitHub.
- Update internal functions to be more compatible with recent version of the sf R package.
wdpar 1.3.0.1
- Update
wdpa_url function to be compatible with changes on https://www.protectedplanet.net/en.
- Update
wdpa_read function to be compatible with new global dataset format.
- Update
st_erase_overlaps function to be more resilient against topology errors (#33).
wdpar 1.3.0.0
- Fix URLs for CRAN.
- Increase test coverage.
wdpar 1.2.0.0
- Update
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.
wdpar 1.1.0.0
- Update
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.
wdpar 1.0.6
wdpar 1.0.5.2
- Update
wdpa_read function to be compatible with changes to global dataset (#31).
wdpar 1.0.5.1
- Update
wdpa_fetch function to be compatible with changes to Protected Planet website for downloading global dataset.
wdpar 1.0.5
wdpar 1.0.4.1
- Update package to be compatible with new file name conventions on Protected Planet website.
- Fix bug with downloading global dataset.
wdpar 1.0.4
wdpar 1.0.3.1
- Add example for multiple countries to
wdpa_clean documentation (#28).
- Add information on port error to
wdpa_clean documentation (#29).
- Update package to work with new version of Protected Planet website (#30).
- New
wdpa_latest_version function for determining the latest version of the dataset.
wdpar 1.0.3
wdpar 1.0.2.1
- Fix “Non-file package-anchored link(s) in documentation object” warnings in R-devel checks.
- Update
wdpa_read so that it is compatible with the new data format provided by https://www.protectedplanet.net/en.
- Update examples for
st_erase_overlaps so that overlapping geometries are clearly shown.
- Update examples to run with CRAN checks (i.e.
--run-donttest).
- Update
st_erase_overlaps so that it is more robust to geometry issues.
wdpar 1.0.2
wdpar 1.0.1.4
- Fix compatibility issues with new
lwgeom package version 0.2-3 (#24).
- Increase
lwgeom and sf package version requirements.
wdpar 1.0.1.3
- The
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).
wdpar 1.0.1.2
- Increase default precision in
wdpa_clean function.
wdpar 1.0.1.1
- Make the
wdpa_clean function more robust to typology issues (#20).
- Remove unnecessary internet connection check from
wdpa_clean (#21).
wdpar 1.0.1
wdpar 1.0.0.4
- Update
wdpa_clean so that it works with a single protected area.
- Tweak progress bar in
st_erase_overlaps.
wdpar 1.0.0.3
- Update
wdpa_clean so that it works with shapefiles that do not have geometry stored in the geometry column (e.g. global data).
wdpar 1.0.0.2
- Update
st_erase_overlaps so that it has a higher success rate for really invalid geometries (e.g. protected areas for Gabon).
wdpar 1.0.0.1
- Add extra data cleaning step to vignette so that the tutorial has a better chance at working when adapted to other countries.
wdpar 1.0.0
- CRAN release.
- Fix links in CITATION, README, and vignette.
wdpar 0.0.4
- Fix false reports of lack of Internet connectivity (#10).
wdpar 0.0.3
wdpar 0.0.2.1
- Fix compatibility issue changes to Protected Planet website (#11).
wdpar 0.0.2
wdpar 0.0.1.3
- Fix bug where parts of MULTIPOLYGON protected areas would be incorrectly erased during data cleaning (#9).
wdpar 0.0.1.2
- Fix bug where protected areas represented as POINT and MULTIPOINT geometries were incorrectly omitted (#9).
- Address CRAN check NOTES by removing unused Imports, or manually calling one of their functions.
wdpar 0.0.1.1
- Fix
Summary: ElementNotVisible bug (#8).
- Citation automatically reports the correct URL (i.e. CRAN or GitHub) based on package version number.
wdpar 0.0.1
wdpar 0.0.0.4
- Fix broken link in README, add package website to DESCRIPTION.
- Update lifecycle badge to stable.
- Fix bug that threw a bogus error message in
wdpa_fetch when force = TRUE.
wdpar 0.0.0.3
- Update overview in README and vignette (#3; @rungec).
- Add list with other datasets to vignette (#4; @rungec).
- Add information about coastlines and EEZs to the README, vignette, and
wdpa_clean documentation (#5; @rungec).
- Add Visconti et al. 2013 citation to
wdpa_clean help page, regarding the buffering of point localities.
wdpar 0.0.0.2
- Initial “everything works” version.
wdpar 0.0.0.1