Skip to contents

The literature behind the evidence.

Usage

papers_list(..., limit = Inf, client = plasticdb_client())

papers_get(paper_id, client = plasticdb_client())

papers_footprint(paper_id, client = plasticdb_client())

papers_export(
  paper_id = NULL,
  ...,
  format = c("bibtex", "ris"),
  path = NULL,
  client = plasticdb_client()
)

Arguments

...

Filters (see Details), named as the API names them.

limit

The most records to return (Inf for all of them).

client

A plasticdb_client().

paper_id

A paper's numeric id (NULL in papers_export() exports every paper matching the filters).

format

"bibtex" or "ris".

path

A file or directory to write the export to, or NULL to return the text.

Value

A tibble with provenance, a plasticdb_record list, or text.

Details

  • papers_list() lists papers matching the filters in ... (polarity has no default here: every paper).

  • papers_get() returns one paper with the organisms, proteins and variants it reports.

  • papers_footprint() is every record one paper contributed (live only).

  • papers_export() returns citations as BibTeX or RIS: one paper, or every paper matching the filters (live only). With path it writes them to a file and returns the path.

Examples

papers_list(protein = "PBFCTW", min_year = 2024, limit = 3)[, c("year",
    "title")]
# \donttest{
papers_get(1262)$title
cat(papers_export(1262))
# }