-
Improve handling downloading rasters
-
Include mask raster in download. Ignore other multi-band rasters
-
Updated rdhs dependency to 0.8.0
-
Fixed bug where Sao Tome and Principe couldn't be found in getPR
-
A number of underlying data sources have been updated. All datasets are now versioned, this is reflected in the
get*
functions. We have tried to keep the API changes small so as to minimise breaking your code. More specifically:getPR
,listPRPointCountries
, andisAvailable_pr
can now take aversion
parameter. These are listed inlistPRPointVersions
. If no version is passed, the data for the newest version will be returned.getVecOcc
,listVecOccPointCountries
, andisAvailable_Vec
similarly take aversion
parameter. These are listed inlistVecOccPointVersions
. If no version is passed, the data for the newest version will be returned.
-
getRaster
andextractRaster
now prefer the newdataset_id
over the deprecatedsurface
parameter.dataset_id
is included inlistRaster
-
Some more functions have been deprecated
listData
, in favour of the more specificlistPRPointCountries
,listVecOccPointCountries
,listRaster
,listShp
listPoints
, in favour of the more specificlistPRPointCountries
andlistVecOccPointCountries
-
Removed
rgdal
,sp
,raster
packages dependencies and addedterra
,sf
,tidyterra
,lifecycle
-
As a result
getShp
will now returnsf
objects -
Similarly,
getRaster
returnsSpatRaster
orSpatRasterCollection
-
Some functions have been deprecated. They will still run in this version, with a warning. Please remove them from your code, they will be completely removed in the future.
- Deprecated
as.MAPraster
,as.MAPshp
. They are no longer required for working withautoplot
- Deprecated
autoplot_MAPraster
. Useautoplot
directly with the result ofgetRaster
- Deprecated