Closed fBedecarrats closed 2 years ago
Thank you for reporting this issue.
The traveltime
is the name of the indicator and to calculate this indicator, we need the resource named nelson_et_al
. So, if you replace this specific part of the script, it might work.
test <- get_resources(sample_portfolio, resource = "nelson_et_al",
range_traveltime = c("500k_1mio"))
Since the latest CRAN release, many things have been updated in the package like names of resources and indicators, so we would recommend you to install the development version of the package using:
remotes::install_github("mapme-initiative/mapme.biodiversity")
.
And we can always check which indicators and resources are available in the current loaded version of mapme.biodiversity by:
names(available_resources())
names(available_indicators())
Thanks a lot @Ohm-Np , it works indeed. I think had tried with resource = "nelson_et_al"
with the CRAN version of {mapme.biodiversity}, but I'm not sure anymore. I'm closing the issue.
Don't you think it would be useful to rename "nelson_et_al" to designate the name of the dataset instead of its authors? (eg. we have "gfw_lossyear" and not "hansen_et_al")
Hello, I managed to get and process GFW datasets, but I systematically get errors when I try to get traveltime data. Here is a reproducible example!
I guess it must be something with the way directories are specified, but I can't figure how doing it correctly. (by the way, the documentation still refers at this resource as
nelson_et_al
, although it seems to have been renamedtraveltime
)