openalex_key: Use an API key for OpenAlex Premium Subscription

View source: R/open_alex_restclient.R

openalex_keyR Documentation

Use an API key for OpenAlex Premium Subscription

Description

This provides access to the latest data, fresher than what snapshots provide. It also enables faster requests and filtering on from_created_date and from_updated_date fields.

Usage

openalex_key(key)

Arguments

key

a premium subscription key

Details

Additional details...

https://github.com/ourresearch/openalex-api-tutorials/blob/main/notebooks/getting-started/premium.ipynb https://docs.openalex.org/api-entities/works/filter-works#from_created_date https://docs.openalex.org/api-entities/works/filter-works#from_updated_date

Value

a logical depending on whether key was set or unset

Examples


 openalex_key("my_secret_api_key")
 openalex_key("")


KTH-Library/openalex documentation built on April 12, 2025, 12:49 p.m.