fetch_fulltext: Get full-text articles from PMC Open Access Subset in an AWS...

View source: R/fetch_fulltext.R

fetch_fulltextR Documentation

Get full-text articles from PMC Open Access Subset in an AWS S3 bucket

Description

Get full-text articles from PMC Open Access Subset in an AWS S3 bucket

Usage

fetch_fulltext(id, vars = c("all", "section", "paragraph", "sentence", "text"))

Arguments

id

a single PMCID, a vector of PMCIDs or a list of PMCIDs returned from fetch_pmcid

vars

which variables you would like to keep in output dataframe, options are c("all", "section", "paragraph", "sentence", "text"). Defaults to "all".

Value

a tidy data.frame containing each manuscript retrieved, tokenized by sentence.

Examples

fetch_fulltext("PMC5465829")
fetch_fulltext("PMC5465829", vars = c("text"))

labouz/PMCfetchR documentation built on Sept. 24, 2022, 11:31 p.m.