Skip to content

Commit

Permalink
Vignette update
Browse files Browse the repository at this point in the history
  • Loading branch information
Neal Haddaway authored and Neal Haddaway committed Feb 11, 2021
1 parent 912a112 commit da8ea90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vignettes/vignette.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ article_list <- c("10.1007/978-3-642-37048-9_13", "10.1111/sum.12030", "10.5194/
## ---- echo=TRUE---------------------------------------------------------------
get_refs(article_list,
get_records = 'references',
token = 'K4FaRccEYJJgd0MaSUVy1MXNcgzvB1Y25PWfyEeNicqxmndHKk0v')
token = '&#39;K4FaRccEYJ---REDACTED---ndHKk0v&#39')

2 changes: 1 addition & 1 deletion vignettes/vignette.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ All we need to do now is specify some settings and bring back the reference list
```{r, echo=TRUE}
get_refs(article_list,
get_records = 'references',
token = 'K4FaRccEYJJgd0MaSUVy1MXNcgzvB1Y25PWfyEeNicqxmndHKk0v')
token = '&#39;K4FaRccEYJ---REDACTED---ndHKk0v&#39')
```

The report printed to the console describes what was found on lens.org, and the RIS file containing our results is saved to our working directory. In you choose to search for citations and references (get_records = 'both') then you will have two reports and two RIS files.
Expand Down
2 changes: 1 addition & 1 deletion vignettes/vignette.html
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ <h2>Using citationchaser</h2>
<p>All we need to do now is specify some settings and bring back the reference lists of all four articles. ‘get_records’ tells the function which direction to search for citations: in this case references in the starting articles. The ‘token’ is provided by Lens.org after applying ot use the service. It is a unique code that allows us to send queries to the server.</p>
<div class="sourceCode" id="cb2"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb2-1"><a href="#cb2-1"></a><span class="kw">get_refs</span>(article_list, </span>
<span id="cb2-2"><a href="#cb2-2"></a> <span class="dt">get_records =</span> <span class="st">&#39;references&#39;</span>, </span>
<span id="cb2-3"><a href="#cb2-3"></a> <span class="dt">token =</span> <span class="st">&#39;K4FaRccEYJJgd0MaSUVy1MXNcgzvB1Y25PWfyEeNicqxmndHKk0v&#39;</span>)</span>
<span id="cb2-3"><a href="#cb2-3"></a> <span class="dt">token =</span> <span class="st">&#39;K4FaRccEYJ---REDACTED---ndHKk0v&#39;</span>)</span>
<span id="cb2-4"><a href="#cb2-4"></a><span class="co">#&gt; #Summary</span></span>
<span id="cb2-5"><a href="#cb2-5"></a><span class="co">#&gt; Your 4 articles contained a total of 540 references. The input articles contained the following identifiable references on lens.org: </span></span>
<span id="cb2-6"><a href="#cb2-6"></a><span class="co">#&gt; doi: 10.1007/978-3-642-37048-9_13, references: 143</span></span>
Expand Down

0 comments on commit da8ea90

Please sign in to comment.