get_pm: Scrape PubMed Publications

Description Usage See Also

View source: R/pm-internals.R

Description

A PubMed search is performed for a string given as the search_term argument and the earliest or the latest publications are returned in descending order. This is a useful tool for researching investigational drugs and whether or not they are a code name for an existing drug on the market. Note that there is no expiration_days argument because the earliest dates cannot ever become obsolete.

Usage

1
2
3
4
5
6
7
8
9
get_pm(
  conn,
  conn_fun,
  earliest = TRUE,
  latest = !earliest,
  search_term,
  verbose = TRUE,
  render_sql = TRUE
)

See Also

str_remove read_xml html_nodes,html_text tibble lsSchema,createSchema,lsTables,appendTable,writeTable

Other pubmed functions: get_pm_earliest(), get_pm_latest()


meerapatelmd/skyscraper documentation built on Dec. 27, 2020, 7:46 a.m.