#Download PfPR data for Nigeria and Cameroon and map the locations of these points using autoplot
if (FALSE) {
library(dplyr)
NGA_CMR_PR <- getPR(country = c("Nigeria", "Cameroon"), species = "Pf")
# Filter the data frame then readd pr.points class so that autoplot can be used.
NGA_CMR_PR %>%
filter(year_start > 2010) %>%
as.pr.points %>%
autoplot
}
Run the code above in your browser using DataLab