View source: R/pmc_listrecords.R
pmc_listrecords | R Documentation |
List the records in the PubMed Central metadata repository.
pmc_listrecords(from = NULL, until = NULL, set = NULL, prefix = "oai_dc", token = NULL, transform = TRUE, url = "http://www.pubmedcentral.gov/oai/oai.cgi")
prefix |
The prefix to use, one of: "oa_dc" (Dublin Core metadata format), "pmc_fm" (PMC front matter metadata format), or "pmc" (full text for open access content only) |
transform |
transform metadata to list (TRUE/FALSE) |
url |
the base url for DataCite (leave to default) |
## Not run: out <- pmc_listrecords(from = '2001-03-22', until = '2001-03-22', transform=T) nrow(out) # number of records out[3,] # a single record # Drop deleted records and extract the metadata. mout <- out[, "metadata"] mout[1:3] # recors one through three oaih_transform(mout[[1]]) # convert XML to a list ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.