Description Usage Arguments Examples
A tmd url is just a URL with some attributes to make it easier to handle within other functions in this package.
1 2 3 4 5 6 7 | as_ftdmurl(url, type, doi = NULL, member = NULL, intended_application = NULL)
## S3 method for class 'ftdmurl'
as_ftdmurl(url, type, doi = NULL, member = NULL, intended_application = NULL)
## S3 method for class 'character'
as_ftdmurl(url, type, doi = NULL, member = NULL, intended_application = NULL)
|
url |
(character) A URL. |
type |
(character) One of 'xml' (default), 'html', 'plain', 'pdf', 'unspecified', or 'all' |
doi |
(character) A DOI, optional, default: |
member |
(character) Crossref member id. optional |
intended_application |
(character) intended application string, optional |
1 2 3 4 5 6 7 8 9 | as_ftdmurl("http://downloads.hindawi.com/journals/bmri/2014/201717.xml",
"xml")
as_ftdmurl("http://downloads.hindawi.com/journals/bmri/2014/201717.pdf",
"pdf")
out <-
as_ftdmurl("http://downloads.hindawi.com/journals/bmri/2014/201717.pdf",
"pdf", "10.1155/2014/201717")
attributes(out)
identical(attr(out, "type"), "pdf")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.