Skip to contents

4TU.ResearchData issues its own personal access tokens (from account settings on data.4tu.nl) – a Figshare.com token is meaningless here, so this is stored separately from figshare_pat(). A token is optional for reading public articles (used here only to raise rate limits or read private ones).

Usage

researchdata4tu_pat(pat = NULL)

Arguments

pat

the token to set, or NULL to get the current token

Value

the current token (character; "" when none is set)

Details

Store it as the RESEARCHDATA4TU_PAT environment variable so it is read every time R starts.

Examples

researchdata4tu_pat() # returns "" unless a token is set
#> [1] ""