jaod_journal_search: Search for journals

Description Usage Arguments Value query Examples

View source: R/jaod_journal_search.R

Description

Search for journals

Usage

1
jaod_journal_search(query, page = 1, pageSize = 10, sort = NULL, ...)

Arguments

query

(character) query terms. See Details.

page

(integer) Which page of the results you wish to see. Default: 1

pageSize

(integer) How many results per page you wish to see. Default: 10

sort

(character) one of asc or desc, or sort by a specific field, either asc or desc, see examples. If asc or desc not given, asc is used

...

curl options passed on to HttpClient, see ?curl::curl_options for help on curl options

Value

a list with metadata (timestamp, page, pageSize, query, total (number of results), next and last (next page and last page), and results (a tibble (data.frame)))

query

You can search inside any field you see in the results or the schema. See https://doaj.org/api/v1/docs#specific_field_search for more details. For example, to search for all articles with abstracts containing the word "shadow", you would do bibjson.abstract:"shadow".

Short-hand names are available for some fields. See https://doaj.org/api/v1/docs#short_field_names for more details. For example: doi:10.3389/fpsyg.2013.00479, issn:1874-9496, license:CC-BY, and title:hydrostatic pressure

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
out <- jaod_journal_search(query = "bibjson.keywords:heritage")
out
out$results

jaod_journal_search(query = "issn:1544-9173")
jaod_journal_search(query = "publisher:dove")

# sorting
out <- jaod_journal_search(query = "bibjson.keywords:heritage",
  sort = "bibjson.oa_start.year:desc")
out$results$bibjson.oa_start.year

## End(Not run)

jaod documentation built on Sept. 2, 2017, 1:06 a.m.