Skip to contents

Fetch abstracts

Usage

ma_abstract(
  query,
  count = 10,
  offset = 0,
  orderby = NULL,
  model = "latest",
  key = NULL,
  ...
)

Arguments

query

(character) query terms

count

(intger) number of records to return. default: 10

offset

(intger) record number to start at. default: 0

orderby

(logical) column by which to order. default: none

model

(character) Name of the model that you wish to query. One of 'latest' or 'beta-2015'. Default: latest

key

(character) microsoft academic API key, see the Authentication section in microdemic-package

...

curl options passed on to crul::HttpClient

Value

data.frame, with two columns: Id and abstract

Note

articles without abstract are removed, so number returned may not equal number requestd with the count parameter

Examples

if (FALSE) {
ma_abstract(query = "Y=2010", count = 10)
ma_abstract(query = "Y=[2010, 2012)", count = 10)
}