Skip to contents

Pure.

Usage

pubtator_parse_results(body)

Arguments

body

A parsed PubTator3 search/ response.

Value

A tibble of pmid, title, journal, authors (a list column, as an article has any number), year, and source_url. NULL when there are no results.

References

Wei et al. (2024). PubTator 3.0: an AI-powered literature resource for unlocking biomedical knowledge. Nucleic Acids Research 52(W1), W540-W546. doi:10.1093/nar/gkae235

Service documentation: https://www.ncbi.nlm.nih.gov/research/pubtator3/

Examples

body <- list(results = list(list(
  pmid = 36197410,
  title = "TP53 or Not TP53",
  journal = "Clin Cancer Res"
)))
pubtator_parse_results(body)
#> # A tibble: 1 × 6
#>   pmid     title            journal         authors   year  source_url          
#>   <chr>    <chr>            <chr>           <list>    <chr> <chr>               
#> 1 36197410 TP53 or Not TP53 Clin Cancer Res <chr [0]> NA    https://pubmed.ncbi…