# NOT RUN {
x <- GbifQueue$new(
occ_download('taxonKey = 3119195', "year = 1976"),
occ_download('taxonKey = 3119195', "year = 2001"),
occ_download('taxonKey = 3119195', "year = 2001", "month <= 8"),
occ_download('taxonKey = 3119195', "year = 2004"),
occ_download('taxonKey = 3119195', "year = 2005")
)
x
x$reqs
x$add_all()
x$jobs()
x
x$remove(x$reqs[[1]])
x
x$reqs[[1]]$run()
x$reqs[[1]]$result
# pre-prepared download request
z <- occ_download_prep(
"basisOfRecord = HUMAN_OBSERVATION,OBSERVATION",
"hasCoordinate = true",
"hasGeospatialIssue = false",
"year = 1993",
user = "foo", pwd = "bar", email = "foo@bar.com"
)
out <- GbifQueue$new(.list = list(z))
out
out$reqs
# }
Run the code above in your browser using DataLab