Description Usage Arguments Examples
View source: R/pmc_getrecord.R
Retrieve an individual record from the PubMed Central repository.
1 2 3 | pmc_getrecord(id = NULL, transform = TRUE,
prefix = "oai_dc",
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) |
id |
DataCite identifier, e.g., "56225" |
transform |
transform metadata to list (TRUE/FALSE) |
url |
the base url for DataCite (leave to default) |
1 2 3 4 5 6 7 8 9 | ## Not run:
out <- pmc_getrecord(152494, T)
out$metadata # get $identifier, $datestamp, $setSpec, or $metadata
oaih_transform(out$metadata) # transform only metadata to a list
# Full text
pmc_getrecord(156895, T, "pmc")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.