queryPubMed {psichomics} | R Documentation

## Query the PubMed REST API

### Description

Query the PubMed REST API

### Usage

    queryPubMed(primary, ..., top = 3, field = "abstract",
      sort = "relevance")

### Arguments

`primary` | Character: primary search term
`...` | Character: other relevant search terms
`top` | Numeric: number of articles to retrieve (3 by default)
`field` | Character: field of interest where to look for terms ("abstract" by default)
`sort` | Character: sort by a given parameter ("relevance" by default)

### Value

Parsed response

### Examples

    psichomics:::queryPubMed("BRCA1", "cancer", "adrenocortical carcinoma")

[Package psichomics version 1.6.2 Index]