getLinksAllRecords: getLinksAllRecords I just noticed that the link...

Description Usage Arguments

Description

getLinksAllRecords I just noticed that the link https://records.nbnatlas.org/occurrence/search seems to display all the records in the NBN - it seems like this might just be a better way to go about this - move through all the records collecting links for the species on the C4 list, and then download them. Since this misses out the step where I find out the dataset information I think that I need to make sure that I include this when downloading the actual data, but that's another function to go hand-in hand with this one.

Usage

1
getLinksAllRecords(range, batch_size, filename, reference_list)

Arguments

range

The number of batches to get links for (i.e. range = 2:7 will get the second to seventh batches).

batch_size

The size of each batch of records to look at.

filename

This is the prefix of the filename that the saved links are written to.

reference_list

A list of species names that links should be collected for. Function compares the species in a record to the reference list, and retains it if there is a match. Case doesn't matter... Should be a single vector of binomials.

print

If TRUE then the dataset number if printed to screen - this is mostly just for testing...


hferg/porkysdad documentation built on May 28, 2019, 8:55 p.m.