Description Usage Arguments Value Examples
Save the links in a text file (docx, pdf, markdown) in perma.cc or Wayback.
1 | archiv.fromText(fp, method = "wayback", except = NULL)
|
fp |
The filepath to extract links from. |
method |
Either "wayback," "perma_cc" or "both". |
except |
A regular expression for URLs to exclude from extraction |
a dataframe containing the url, availability, archived url(s) and timestamp(s)
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# Wayback
archivedURLs <- archiv.fromText("testdoc.docx", except="doi\\.org\\/")
#perma.cc
set_api_key("API KEY")
set_folder_id("42")
archivedURLs <- archiv.fromText("testdoc.docx", method="perma_cc")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.