ma_abstract: Fetch abstracts

Description Usage Arguments Value Note Examples

View source: R/abstract.R

Description

Fetch abstracts

Usage

1
2
3
4
5
6
7
8
9
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

1
2
3
4
5
## Not run: 
ma_abstract(query = "Y=2010", count = 10)
ma_abstract(query = "Y=[2010, 2012)", count = 10)

## End(Not run)

microdemic documentation built on Nov. 20, 2020, 9:06 a.m.