Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.11 KB

File metadata and controls

22 lines (14 loc) · 1.11 KB

NMFS Data Academy

Notes and scripts for administering the NMFS Data Academy on dataquest.io.

Using the Dataquest API

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.