get_FINSdata | R Documentation |
get_FINSdata
downloads FINS data from their API using an
NPT specific api key. The function can access data from three FINS modules;
'Trapping', 'Release' and 'Spawning'. The user can also specify if only NPT
data is required or the full dataset from FINS.
get_FINSdata(
module = c("Trapping", "Release", "Spawning"),
scope = c("NPT", "FINS Domain"),
startDate,
endDate,
api_key
)
module |
FINS database module to query; Trapping, Release, Spawning. |
scope |
download NPT data only or the full FINS domain |
startDate |
query start date formatted as month, day, year; '01/01/2019' |
endDate |
query end date formatted as month, day, year; '01/01/2020' |
api_key |
access key supplied from FINS development team. |
a data frame of all returned data from FINS query
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.