1

I am trying to download protected area data for the Democratic Republic of the Congo (ISO3 code = COD) using the wdpar R package.

library(wdpar)
library(dplyr)
library(ggmap)
library(sf)

cod_raw_pa_data <- wdpa_fetch("COD")

I keep getting the following error message.

Error in wdpa_data[[1]] : subscript out of bounds

How do I fix this?

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.