Notes and scripts for administering the NMFS Data Academy on dataquest.io.
We are using the dataquest.io API for processing data on participants's progress. All API calls require our Team ID and API Key. Our Team ID is documented in our planning document, and the API Key is created on the settings page under Team Management on dataquest.io.
Store both of these values in your .Renviron file. The easiest way to find and open this file for editing is with the edit_r_environ() function in the usethis package:
usethis::edit_r_environ()Then in that file record the team ID and API key as:
DATAQUEST_TEAM_ID=our-team-id
DATAQUEST_API_KEY=our-api-key
The scripts will read those keys as needed when querying the API.