if (FALSE) {
## If you have already created a occCite object, and have not previously
## downloaded GBIF data.
occQuery(
x = myOccCiteObject,
datasources = c("gbif", "bien"),
GBIFLogin = myLogin,
GBIFDownloadDirectory = "./Desktop",
loadLocalGBIFDownload = F
)
## If you don't have an occCite object yet
occQuery(
x = c("Buteo buteo", "Protea cynaroides"),
datasources = c("gbif", "bien"),
GBIFLogin = myLogin,
GBIFDownloadDirectory = "./Desktop",
loadLocalGBIFDownload = F
)
## If you have previously downloaded occurrence data from GBIF
## and saved it in a folder called "GBIFDownloads".
occQuery(
x = c("Buteo buteo", "Protea cynaroides"),
datasources = c("gbif", "bien"),
GBIFLogin = myLogin,
GBIFDownloadDirectory = "./Desktop/GBIFDownloads",
loadLocalGBIFDownload = T
)
}
Run the code above in your browser using DataLab