getLENSData {citationchaser}R Documentation

Function to query Lens.org

Description

Function written by lens.org for use of their API.

Usage

getLENSData(token, query)

Arguments

token

An access key for the lens.org API. Tokens can be obtained by applying for scholarly API access and creating a token once approved. See 'https://www.lens.org/lens/user/subscriptions#scholar' for further details.

query

A search string formulated according to the Lens.org API documentation: 'https://docs.api.lens.org/request-scholar.html'.

Value

A summary response. The results are viewable using 'content(data, "text")'. Other details regarding the request (e.g. repsonse times) can be accessed through the main output.


[Package citationchaser version 0.0.4 Index]