# NOT RUN {
# res <- DownReq$new(occ_download('taxonKey = 3119195', "year = 1991"))
# res
# res$req
# res$run()
# (requests <- GbifQueue$new())
# res$run(keep_track = TRUE)
# requests
# res$status()
# prepared query
res <- DownReq$new(occ_download_prep("basisOfRecord = LITERATURE",
user = "foo", pwd = "bar", email = "foo@bar.com"))
res
# res$run()
# res
# res$status()
# res$result
# }
Run the code above in your browser using DataLab