Description Usage Arguments Details Value Examples
View source: R/WikiHistoRyfunctions.r
This function get a regex of citations type and a wikipedia article table as input and th creation dates e table with each matched ciation in each revision/article from a wiki table
1 | get_regex_citations_in_wiki_table(article_wiki_table, citation_regexp)
|
citation_regexp |
citation regular expression |
rticle_wiki_table |
a wiki table |
accessible regular expression
doi_regexp= "10\.\d4,9/[-._;()/:a-z0-9A-Z]+"
isbn_regexp='(?<=(isbn|ISBN)\s?[=:]?\s?)\d1,5-\d1,7-\d1,5-[\dX]'
url_regexp = "http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:
tweet_regexp='\\cite tweet.*?\\'
news_regexp='\\cite news.*?\\'
journal_regexp='\\cite journal.*?\\'
web_regexp='\\cite web.*?\\'
article_regexp='\\cite article.*?\\'
report_regexp='\\cite report.*?\\'
court_regexp='\\cite court.*?\\'
press_release_regexp='\\cite press release.*?\\'
book_regexp='\\cite book .*?\\'
pmid_regexp="(?<=(pmid|PMID)\s?[=:]\s?)\d5,9"
ref_regexp='<ref>\\[c|C]ite.*?\\</ref>' # in-text refs!
cite_regexp='\\[c|C]ite.*?\\'
list of wikipedia pages in the input category
1 2 | Zeitgeber_history=get_article_full_history_table("Zeitgeber")
citations_in_wiki_table=get_regex_citations_in_wiki_table(Zeitgeber_history,doi_regexp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.