CalcHistogram API
Usage
ma_calchist(
query,
count = 10,
offset = 0,
atts = c("Id", "AA.AuN", "J.JN", "Ti", "Y", "CC"),
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
- atts
(character) fields to return, in a character vector. See https://docs.microsoft.com/en-us/academic-services/project-academic-knowledge/reference-entity-attributes for details.
- 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
Examples
if (FALSE) {
res <- ma_calchist(query = "And(Composite(AA.AuN=='jaime teevan'),Y>2012)",
atts = c('Y', 'F.FN'))
res$histograms$histogram
}