Searches the list of a user's most recent 1000 downloads on the GBIF servers and returns the data set key for the most recently prepared download.
prevGBIFdownload(taxonKey, GBIFLogin)
A taxon key as returned from `rgbif::name_suggest()`.
An object of class GBIFLogin
to log in to
GBIF to begin the download.
A GBIF download key, if one is available
if (FALSE) {
GBIFLogin <- GBIFLoginManager(
user = "theWoman",
email = "ireneAdler@laScala.org",
pwd = "sh3r"
)
taxKey <- rgbif::name_suggest(
q = "Protea cynaroides",
rank = "species"
)$key[1]
prevGBIFdownload(
taxonKey = taxKey,
GBIFLogin = myGBIFLogin
)
}