Releases: prioritizr/wdpar
Releases · prioritizr/wdpar
wdpar 1.3.9
- Update
wdpa_read()andwdpa_clean()to be compatible with updates to
the Protected Planet database. Thanks to Joe Gosling for providing detailed
information on the database changes. - Update
wdpa_clean()so that it shows clearer progress messages for erasing
spatial overlaps, throws a warning if attempting to erase overlaps from
particularly large datasets, trims white space characters from all
fields containing character values, and can optionally skip steps for
repairing geometries if specified by the user (per the new
repair_geometriesparameter) (#95). Thanks to Alexandre Courtiol
(@courtiol) for feature suggestion. - Update vignette. Thanks to Alexandre Courtiol (@courtiol) for code review.
- Update
wdpa_read()to use the archive package for unzipping files. This
is needed to ensure compatibility with Windows operating systems, because the
built-inunzip()function is not robust enough against invalid characters.
Thanks to Aharon Fleury for bug report. - Update
wdpa_fetch()documentation with information about another misleading
error message that is not a real error (#90). Thanks to Evan Muise (@emuise)
for bug report. - Update
st_repair_geometry()to specify correct installation instructions
for the prepr package in the error message. - Update
st_repair_geometry()documentation to specify correct installation
instructions for the prepr package (#89). Thanks to Jason Everett
(@jaseeverett) for bug report. - Update
wdpa_url()to provide correctly formatted error message when
it can't find matching CSS queries. - Update
wdpa_read()so that it can import country-specific data in
shapefile format that have been manually downloaded from ProtectedPlanet
(#87). Thanks to Florent Bédécarrats (@fBedecarrats) for bug report. - Minor improvements to documentation.
wdpar 1.3.7
wdpar 1.3.5
wdpar 1.3.4
- CRAN release.
- Update citation format.
- Fix broken URL in vignette.
- Fix badges in README.
- Update citation information with journal article.
- Fix tests when PhatomJS not installed.
- Fix broken URL in vignette.
- Improve error message for
wdpa_fetch()when PhantomJS is not installed (#63). - Add URLs to README for citations (#58).
- Update
wdpa_fetch()documentation to provide information on out of date warnings (#59). - Update
wdpa_fetch()warnings to be more descriptive and use the cli package for consistent alert messages. - Update paper for JOSS submission (#53, #54, #62).
- Update vignette with new section on local scale analyses (#53).
- Update
wdpa_fetch()function to use the webdriver package for obtaining data
(replacing Rselenium package as a dependency) (#63). - Update
st_repair_geometry()to be more robust. - Fix failing tests for
st_repair_geometry()function. - Update documentation for
wdpa_clean()function. - Fix broken URL in vignette.
wdpar 1.3.3.2
Preliminary release for JOSS.
wdpar 1.3.3
- Reduce test timings.
- Fix compatibility with GEOS (version 3.11.0) (#50, #51).
- Fix broken URLs in documentation.
- Fix typos in documentation, add JOSS paper, and add contributing guide.
- Reduce false-negative rate when checking for available internet connection (#10).
- Select a random port for the web driver (#41).
- Make web driver clean up more robust (#41).
wdpar 1.3.2
- Update
read_sf_nto import data faster. - Remove withr R package from DESCRIPTION because it is not used.
- Update
wdpa_cleanto format thePA_DEFcolumn 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.
- Update
wdpa_fetchwith newcheck_versionargument to specify if the version of cached data should be checked against the latest version available online. - Update
wdpa_cleanto not throw an unnecessary and confusing warning message when attempting to clean data that do not contain any valid polygon geometries. - Fix bug in
wdpa_readto 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_geometryfunction to repair geometry using a combination ofsf::st_make_validandprepr::st_prepair. This function is now used by thewdpa_cleanfunction to augment data cleaning procedures. - Update
wdpa_urlandwdpa_fetchto have apage_waitparameter 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.
- Update
wdpa_cleanto provide better information when cleaning data. - Update documentation to provide guidelines for processing global dataset.
- New
wdpa_dissolvefunction to dissolve geometries together (#22). - Fix tests that fail package checks given only strict dependencies.
- Update citation information in README and vignette.
- Update
wdpa_urlfunction to be compatible with changes on https://www.protectedplanet.net/en for downloading country-level datasets.
wdpar 1.3.1
v1.3.1 fix typo in cran comments