From 52ffc382e7dd8bff393f76db4407472f3dda83df Mon Sep 17 00:00:00 2001
From: christopher crew baker <chriscrewbaker@gmail.com>
Date: Fri, 28 Sep 2018 20:11:59 -0400
Subject: [PATCH] add dep files

---
 README.md                           | 110 ++++++++++++++--------------
 docs/LICENSE-text.html              |   2 +-
 docs/articles/faqs.html             |   4 +-
 docs/articles/getting-started.html  |  14 ++--
 docs/articles/index.html            |   2 +-
 docs/authors.html                   |   2 +-
 docs/index.html                     |  20 ++---
 docs/news/index.html                |  38 ++++++++--
 docs/reference/auth.html            |   5 +-
 docs/reference/index.html           |   2 +-
 docs/reference/pull_incites.html    |   5 +-
 docs/reference/pull_wos.html        |   5 +-
 docs/reference/pull_wos_apply.html  |   7 +-
 docs/reference/query_wos.html       |   2 +-
 docs/reference/query_wos_apply.html |   7 +-
 docs/reference/read_wos_data.html   |   5 +-
 docs/reference/wosr.html            |   2 +-
 docs/reference/write_wos_data.html  |   5 +-
 18 files changed, 127 insertions(+), 110 deletions(-)

diff --git a/README.md b/README.md
index a9b9564..da25d61 100644
--- a/README.md
+++ b/README.md
@@ -48,49 +48,49 @@ query_wos(query, sid = sid)
 pull_wos(query, sid = sid)
 #> List of 9
 #>  $ publication   :'data.frame':  548 obs. of  7 variables:
-#>   ..$ ut       : chr [1:548] "WOS:000173956100001" ...
-#>   ..$ title    : chr [1:548] "FMD and animal welfare" ...
-#>   ..$ journal  : chr [1:548] "Veterinary Record" ...
-#>   ..$ date     : Date[1:548], format: "2002-01-26" ...
+#>   ..$ ut       : chr [1:548] "WOS:000186387100005" ...
+#>   ..$ title    : chr [1:548] "Farm animal welfare: The interaction of et"..
+#>   ..$ journal  : chr [1:548] "Animal Welfare" ...
+#>   ..$ date     : Date[1:548], format: "2003-11-01" ...
 #>   ..$ doi      : chr [1:548] NA ...
-#>   ..$ tot_cites: num [1:548] 0 0 ...
-#>   ..$ abstract : chr [1:548] NA ...
+#>   ..$ tot_cites: int [1:548] 37 15 ...
+#>   ..$ abstract : chr [1:548] "Farm animal welfare has now been studied, "..
 #>  $ author        :'data.frame':  1438 obs. of  7 variables:
-#>   ..$ ut          : chr [1:1438] "WOS:000176714800003" ...
-#>   ..$ author_no   : num [1:1438] 1 1 ...
-#>   ..$ display_name: chr [1:1438] "Nolen, RS" ...
-#>   ..$ first_name  : chr [1:1438] "RS" ...
-#>   ..$ last_name   : chr [1:1438] "Nolen" ...
-#>   ..$ email       : chr [1:1438] NA ...
-#>   ..$ daisng_id   : num [1:1438] 25184 ...
+#>   ..$ ut          : chr [1:1438] "WOS:000186387100005" ...
+#>   ..$ author_no   : int [1:1438] 1 2 ...
+#>   ..$ display_name: chr [1:1438] "Sandoe, P" ...
+#>   ..$ first_name  : chr [1:1438] "P" ...
+#>   ..$ last_name   : chr [1:1438] "Sandoe" ...
+#>   ..$ email       : chr [1:1438] "pes@kvl.dk" ...
+#>   ..$ daisng_id   : int [1:1438] 196427 3327343 ...
 #>  $ address       :'data.frame':  838 obs. of  7 variables:
-#>   ..$ ut      : chr [1:838] "WOS:000182036200014" ...
-#>   ..$ addr_no : num [1:838] 1 1 ...
-#>   ..$ org_pref: chr [1:838] "University of Prince Edward Island" ...
-#>   ..$ org     : chr [1:838] "Univ Prince Edward Isl" ...
-#>   ..$ city    : chr [1:838] "Charlottetown" ...
-#>   ..$ state   : chr [1:838] "PE" ...
-#>   ..$ country : chr [1:838] "Canada" ...
+#>   ..$ ut      : chr [1:838] "WOS:000186387100005" ...
+#>   ..$ addr_no : int [1:838] 1 2 ...
+#>   ..$ org_pref: chr [1:838] "University of Copenhagen" ...
+#>   ..$ org     : chr [1:838] "Royal Vet & Agr Univ" ...
+#>   ..$ city    : chr [1:838] "Frederiksberg" ...
+#>   ..$ state   : chr [1:838] NA ...
+#>   ..$ country : chr [1:838] "Denmark" ...
 #>  $ author_address:'data.frame':  18 obs. of  3 variables:
 #>   ..$ ut       : chr [1:18] "WOS:000208276800197" ...
-#>   ..$ author_no: num [1:18] 1 2 ...
-#>   ..$ addr_no  : num [1:18] 1 1 ...
+#>   ..$ author_no: int [1:18] 1 2 ...
+#>   ..$ addr_no  : int [1:18] 1 1 ...
 #>  $ jsc           :'data.frame':  901 obs. of  2 variables:
-#>   ..$ ut : chr [1:901] "WOS:000173956100001" ...
+#>   ..$ ut : chr [1:901] "WOS:000186387100005" ...
 #>   ..$ jsc: chr [1:901] "Veterinary Sciences" ...
 #>  $ keyword       :'data.frame':  2096 obs. of  2 variables:
-#>   ..$ ut     : chr [1:2096] "WOS:000177154900014" ...
-#>   ..$ keyword: chr [1:2096] "animality" ...
+#>   ..$ ut     : chr [1:2096] "WOS:000186387100005" ...
+#>   ..$ keyword: chr [1:2096] "animal welfare" ...
 #>  $ keywords_plus :'data.frame':  2020 obs. of  2 variables:
-#>   ..$ ut           : chr [1:2020] "WOS:000180265600060" ...
-#>   ..$ keywords_plus: chr [1:2020] "housing conditions" ...
+#>   ..$ ut           : chr [1:2020] "WOS:000179260700001" ...
+#>   ..$ keywords_plus: chr [1:2020] "system" ...
 #>  $ grant         :'data.frame':  1 obs. of  3 variables:
 #>   ..$ ut          : chr "WOS:000208574800048"
 #>   ..$ grant_agency: chr "Selcuk University Research Foundation"
 #>   ..$ grant_id    : chr "2000/062"
 #>  $ doc_type      :'data.frame':  642 obs. of  2 variables:
-#>   ..$ ut      : chr [1:642] "WOS:000173956100001" ...
-#>   ..$ doc_type: chr [1:642] "Editorial Material" ...
+#>   ..$ ut      : chr [1:642] "WOS:000186387100005" ...
+#>   ..$ doc_type: chr [1:642] "Article" ...
 ```
 
 InCites
@@ -108,17 +108,17 @@ uts <- c("000272272000015", "000272366800025", "000272877700013")
 # Download InCites data for those UTs
 pull_incites(uts)
 #>                      ut article_type tot_cites journal_expected_citations
-#> 1.1 WOS:000272877700013           AA         1                        3.3
-#> 1.2 WOS:000272366800025           AA         4                        4.2
-#> 1.3 WOS:000272272000015           AA         2                        8.8
+#> 1.1 WOS:000272877700013           AA         1                        3.4
+#> 1.2 WOS:000272366800025           AA         4                        4.3
+#> 1.3 WOS:000272272000015           AA         3                        8.9
 #>     journal_act_exp_citations impact_factor avg_expected_rate percentile
-#> 1.1                      0.30          0.47                20         87
-#> 1.2                      0.95          0.80                20         62
-#> 1.3                      0.23          1.28                20         77
+#> 1.1                      0.30          0.49                20         87
+#> 1.2                      0.94          0.85                20         63
+#> 1.3                      0.34          1.90                20         69
 #>      nci esi_most_cited_article hot_paper is_international_collab
 #> 1.1 0.05                  FALSE     FALSE                   FALSE
 #> 1.2 0.20                  FALSE     FALSE                   FALSE
-#> 1.3 0.10                  FALSE     FALSE                   FALSE
+#> 1.3 0.15                  FALSE     FALSE                   FALSE
 #>     is_institution_collab is_industry_collab oa_flag
 #> 1.1                 FALSE              FALSE   FALSE
 #> 1.2                 FALSE              FALSE   FALSE
@@ -135,32 +135,32 @@ wos <- pull_wos('TS = ("dog welfare")', sid = sid)
 # Download InCites data
 head(pull_incites(wos$publication$ut))
 #>                      ut article_type tot_cites journal_expected_citations
-#> 1.1 WOS:A1996VH04300002           AA        18                     29.879
-#> 1.2 WOS:000425564500005           AA         0                      0.022
-#> 1.3 WOS:000425532500001            R         0                      0.333
-#> 1.4 WOS:000422961700001           AA         0                      0.459
-#> 1.5 WOS:000422961000002            R         3                      0.500
-#> 1.6 WOS:000422958400008            R         1                      2.182
+#> 1.1 WOS:A1996VH04300002           AA        18                      30.07
+#> 1.2 WOS:000435128900013            R         2                       1.50
+#> 1.3 WOS:000432234000011           AA         0                       0.12
+#> 1.4 WOS:000425564500005           AA         0                       0.12
+#> 1.5 WOS:000425532500001            R         0                       0.67
+#> 1.6 WOS:000422961700001           AA         0                       0.64
 #>     journal_act_exp_citations impact_factor avg_expected_rate percentile
-#> 1.1                      0.60           1.8            18.945       23.7
-#> 1.2                      0.00           1.8             0.066      100.0
-#> 1.3                      0.00           2.2             0.267      100.0
-#> 1.4                      0.00          -1.0             0.519      100.0
-#> 1.5                      6.00          -1.0             0.940        9.8
-#> 1.6                      0.46          -1.0             3.624       72.8
+#> 1.1                       0.6           1.5             19.07       23.9
+#> 1.2                       1.3           1.6              0.25        2.1
+#> 1.3                       0.0           1.5              0.11      100.0
+#> 1.4                       0.0           1.5              0.11      100.0
+#> 1.5                       0.0           2.8              0.40      100.0
+#> 1.6                       0.0           1.7              0.69      100.0
 #>      nci esi_most_cited_article hot_paper is_international_collab
-#> 1.1 0.95                  FALSE     FALSE                   FALSE
-#> 1.2 0.00                  FALSE     FALSE                   FALSE
+#> 1.1 0.94                  FALSE     FALSE                   FALSE
+#> 1.2 8.07                  FALSE     FALSE                    TRUE
 #> 1.3 0.00                  FALSE     FALSE                   FALSE
 #> 1.4 0.00                  FALSE     FALSE                   FALSE
-#> 1.5 3.19                  FALSE     FALSE                   FALSE
-#> 1.6 0.28                  FALSE     FALSE                   FALSE
+#> 1.5 0.00                  FALSE     FALSE                   FALSE
+#> 1.6 0.00                  FALSE     FALSE                   FALSE
 #>     is_institution_collab is_industry_collab oa_flag
 #> 1.1                 FALSE              FALSE   FALSE
-#> 1.2                 FALSE              FALSE   FALSE
+#> 1.2                  TRUE              FALSE   FALSE
 #> 1.3                 FALSE              FALSE   FALSE
-#> 1.4                 FALSE              FALSE    TRUE
-#> 1.5                 FALSE              FALSE    TRUE
+#> 1.4                 FALSE              FALSE   FALSE
+#> 1.5                 FALSE              FALSE   FALSE
 #> 1.6                 FALSE              FALSE    TRUE
 ```
 
diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html
index 349d4b0..a673640 100644
--- a/docs/LICENSE-text.html
+++ b/docs/LICENSE-text.html
@@ -60,7 +60,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
diff --git a/docs/articles/faqs.html b/docs/articles/faqs.html
index d6c3b96..0ad82e6 100644
--- a/docs/articles/faqs.html
+++ b/docs/articles/faqs.html
@@ -30,7 +30,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
@@ -121,7 +121,7 @@ <h3 class="hasAnchor">
   <span class="st">"TS = dog AND PY = 2001-2010"</span>, 
   <span class="st">"TS = dog AND PY = 2011-2018"</span>
 )
-results &lt;-<span class="st"> </span><span class="kw">lapply</span>(queries, pull_wos)</code></pre></div>
+results &lt;-<span class="st"> </span><span class="kw"><a href="../reference/pull_wos_apply.html">pull_wos_apply</a></span>(queries)</code></pre></div>
 </div>
 <div id="there-are-some-fields-that-im-interested-in-that-pull_wos-doesnt-return--how-do-i-get-them" class="section level3">
 <h3 class="hasAnchor">
diff --git a/docs/articles/getting-started.html b/docs/articles/getting-started.html
index 0881c91..c645f99 100644
--- a/docs/articles/getting-started.html
+++ b/docs/articles/getting-started.html
@@ -30,7 +30,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
@@ -284,12 +284,12 @@ <h1>Getting started</h1>
 #&gt; 1.5                      1.16        -1.000              14.1         54
 #&gt; 1.6                        NA        -1.000               2.2         26
 #&gt;      nci esi_most_cited_article hot_paper is_international_collab
-#&gt; 1.1 0.71                      0     FALSE                   FALSE
-#&gt; 1.2 0.07                      0     FALSE                   FALSE
-#&gt; 1.3 0.64                      0     FALSE                   FALSE
-#&gt; 1.4 0.00                      0     FALSE                   FALSE
-#&gt; 1.5 0.43                      0     FALSE                   FALSE
-#&gt; 1.6 0.46                      0     FALSE                   FALSE
+#&gt; 1.1 0.71                  FALSE     FALSE                   FALSE
+#&gt; 1.2 0.07                  FALSE     FALSE                   FALSE
+#&gt; 1.3 0.64                  FALSE     FALSE                   FALSE
+#&gt; 1.4 0.00                  FALSE     FALSE                   FALSE
+#&gt; 1.5 0.43                  FALSE     FALSE                   FALSE
+#&gt; 1.6 0.46                  FALSE     FALSE                   FALSE
 #&gt;     is_institution_collab is_industry_collab oa_flag
 #&gt; 1.1                 FALSE              FALSE   FALSE
 #&gt; 1.2                 FALSE              FALSE   FALSE
diff --git a/docs/articles/index.html b/docs/articles/index.html
index 2dd2379..f48756e 100644
--- a/docs/articles/index.html
+++ b/docs/articles/index.html
@@ -60,7 +60,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
diff --git a/docs/authors.html b/docs/authors.html
index 6da4103..cf37544 100644
--- a/docs/authors.html
+++ b/docs/authors.html
@@ -60,7 +60,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
diff --git a/docs/index.html b/docs/index.html
index 098da1d..8a45fbd 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -33,7 +33,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
@@ -168,9 +168,9 @@ <h2 class="hasAnchor">
 <span class="co">#&gt; 1.2                      0.94         0.847           19.9964      62.59</span>
 <span class="co">#&gt; 1.3                      0.34         1.902           19.9964      69.25</span>
 <span class="co">#&gt;      nci esi_most_cited_article hot_paper is_international_collab</span>
-<span class="co">#&gt; 1.1 0.05                      0     FALSE                   FALSE</span>
-<span class="co">#&gt; 1.2 0.20                      0     FALSE                   FALSE</span>
-<span class="co">#&gt; 1.3 0.15                      0     FALSE                   FALSE</span>
+<span class="co">#&gt; 1.1 0.05                  FALSE     FALSE                   FALSE</span>
+<span class="co">#&gt; 1.2 0.20                  FALSE     FALSE                   FALSE</span>
+<span class="co">#&gt; 1.3 0.15                  FALSE     FALSE                   FALSE</span>
 <span class="co">#&gt;     is_institution_collab is_industry_collab oa_flag</span>
 <span class="co">#&gt; 1.1                 FALSE              FALSE   FALSE</span>
 <span class="co">#&gt; 1.2                 FALSE              FALSE   FALSE</span>
@@ -199,12 +199,12 @@ <h2 class="hasAnchor">
 <span class="co">#&gt; 1.5                      0.00         2.805            0.3980     100.00</span>
 <span class="co">#&gt; 1.6                      0.00         1.654            0.6919     100.00</span>
 <span class="co">#&gt;      nci esi_most_cited_article hot_paper is_international_collab</span>
-<span class="co">#&gt; 1.1 0.94                      0     FALSE                   FALSE</span>
-<span class="co">#&gt; 1.2 8.07                      0     FALSE                    TRUE</span>
-<span class="co">#&gt; 1.3 0.00                      0     FALSE                   FALSE</span>
-<span class="co">#&gt; 1.4 0.00                      0     FALSE                   FALSE</span>
-<span class="co">#&gt; 1.5 0.00                      0     FALSE                   FALSE</span>
-<span class="co">#&gt; 1.6 0.00                      0     FALSE                   FALSE</span>
+<span class="co">#&gt; 1.1 0.94                  FALSE     FALSE                   FALSE</span>
+<span class="co">#&gt; 1.2 8.07                  FALSE     FALSE                    TRUE</span>
+<span class="co">#&gt; 1.3 0.00                  FALSE     FALSE                   FALSE</span>
+<span class="co">#&gt; 1.4 0.00                  FALSE     FALSE                   FALSE</span>
+<span class="co">#&gt; 1.5 0.00                  FALSE     FALSE                   FALSE</span>
+<span class="co">#&gt; 1.6 0.00                  FALSE     FALSE                   FALSE</span>
 <span class="co">#&gt;     is_institution_collab is_industry_collab oa_flag</span>
 <span class="co">#&gt; 1.1                 FALSE              FALSE   FALSE</span>
 <span class="co">#&gt; 1.2                  TRUE              FALSE   FALSE</span>
diff --git a/docs/news/index.html b/docs/news/index.html
index 955c228..e72fa96 100644
--- a/docs/news/index.html
+++ b/docs/news/index.html
@@ -60,7 +60,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
@@ -104,15 +104,38 @@ <h1>Changelog <small></small></h1>
       
     </div>
 
-    <div id="wosr-0-1-2" class="section level1">
+    <div id="wosr-0-2-0" class="section level1">
 <h1 class="page-header">
-<a href="#wosr-0-1-2" class="anchor"></a>wosr 0.1.2<small> 2018-07-27 </small>
+<a href="#wosr-0-2-0" class="anchor"></a>wosr 0.2.0<small> 2018-09-27 </small>
 </h1>
 <div id="new-functions" class="section level2">
 <h2 class="hasAnchor">
 <a href="#new-functions" class="anchor"></a>New functions</h2>
 <ul>
 <li>
+<code><a href="../reference/query_wos_apply.html">query_wos_apply()</a></code> and <code><a href="../reference/pull_wos_apply.html">pull_wos_apply()</a></code> added to issue multiple queries to the WoS API and pull the data for those queries, respectively</li>
+</ul>
+</div>
+<div id="misc" class="section level2">
+<h2 class="hasAnchor">
+<a href="#misc" class="anchor"></a>Misc</h2>
+<ul>
+<li>
+<code><a href="../reference/pull_wos.html">pull_wos()</a></code> now returns empty data frames instead of <code>NA</code> if the user’s query returns no results</li>
+<li>
+<code><a href="../reference/pull_wos.html">pull_wos()</a></code> explicitly casts all string fields to be character vectors, and <code><a href="../reference/pull_incites.html">pull_incites()</a></code> now correctly casts the <code>esi_most_cited_article</code> field to be a logical vector (instead of a numeric)</li>
+</ul>
+</div>
+</div>
+    <div id="wosr-0-1-2" class="section level1">
+<h1 class="page-header">
+<a href="#wosr-0-1-2" class="anchor"></a>wosr 0.1.2<small> 2018-07-27 </small>
+</h1>
+<div id="new-functions-1" class="section level2">
+<h2 class="hasAnchor">
+<a href="#new-functions-1" class="anchor"></a>New functions</h2>
+<ul>
+<li>
 <code><a href="../reference/write_wos_data.html">write_wos_data()</a></code> and <code><a href="../reference/read_wos_data.html">read_wos_data()</a></code> added to write the data returned by <code><a href="../reference/pull_wos.html">pull_wos()</a></code> as a series of CSVs and to read those CSVs back into R</li>
 </ul>
 </div>
@@ -129,9 +152,9 @@ <h2 class="hasAnchor">
 <h1 class="page-header">
 <a href="#wosr-0-1-1" class="anchor"></a>wosr 0.1.1<small> 2018-05-03 </small>
 </h1>
-<div id="misc" class="section level2">
+<div id="misc-1" class="section level2">
 <h2 class="hasAnchor">
-<a href="#misc" class="anchor"></a>Misc</h2>
+<a href="#misc-1" class="anchor"></a>Misc</h2>
 <ul>
 <li>The InCites API was updated by Clarivate, including moving to a new endpoint URL and changing the order of fields returned by the “DocumentLevelMetricsByUT” method. Small changes to the internals of <code><a href="../reference/pull_incites.html">pull_incites()</a></code> were made to reflect this.</li>
 </ul>
@@ -141,9 +164,9 @@ <h2 class="hasAnchor">
 <h1 class="page-header">
 <a href="#wosr-0-1-0" class="anchor"></a>wosr 0.1.0<small> 2018-02-06 </small>
 </h1>
-<div id="new-functions-1" class="section level2">
+<div id="new-functions-2" class="section level2">
 <h2 class="hasAnchor">
-<a href="#new-functions-1" class="anchor"></a>New functions</h2>
+<a href="#new-functions-2" class="anchor"></a>New functions</h2>
 <ul>
 <li>
 <code><a href="../reference/auth.html">auth()</a></code> added to get a session ID from WoS API server</li>
@@ -160,6 +183,7 @@ <h2 class="hasAnchor">
     <div id="tocnav">
       <h2>Contents</h2>
       <ul class="nav nav-pills nav-stacked">
+        <li><a href="#wosr-0-2-0">0.2.0</a></li>
         <li><a href="#wosr-0-1-2">0.1.2</a></li>
         <li><a href="#wosr-0-1-1">0.1.1</a></li>
         <li><a href="#wosr-0-1-0">0.1.0</a></li>
diff --git a/docs/reference/auth.html b/docs/reference/auth.html
index 39f7d93..11548e5 100644
--- a/docs/reference/auth.html
+++ b/docs/reference/auth.html
@@ -66,7 +66,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
@@ -152,8 +152,7 @@ <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examp
 <span class='co'># don't have to keep specifying them in your code:</span>
 <span class='fu'>Sys.setenv</span>(<span class='kw'>WOS_USERNAME</span> <span class='kw'>=</span> <span class='st'>"some_username"</span>, <span class='kw'>WOS_PASSWORD</span> <span class='kw'>=</span> <span class='st'>"some_password"</span>)
 <span class='fu'>auth</span>()
-<span class='co'># }</span><div class='input'>
-</div></pre>
+<span class='co'># }</span></pre>
   </div>
   <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
     <h2>Contents</h2>
diff --git a/docs/reference/index.html b/docs/reference/index.html
index 4430e72..72003b8 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -60,7 +60,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
diff --git a/docs/reference/pull_incites.html b/docs/reference/pull_incites.html
index 8b670b3..4215440 100644
--- a/docs/reference/pull_incites.html
+++ b/docs/reference/pull_incites.html
@@ -67,7 +67,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
@@ -173,8 +173,7 @@ <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examp
 <span class='fu'>pull_incites</span>(<span class='no'>uts</span>, <span class='kw'>key</span> <span class='kw'>=</span> <span class='st'>"some_key"</span>)
 
 <span class='fu'>pull_incites</span>(<span class='fu'>c</span>(<span class='st'>"000346263300011"</span>, <span class='st'>"000362312600021"</span>), <span class='kw'>key</span> <span class='kw'>=</span> <span class='st'>"some_key"</span>)
-<span class='co'># }</span><div class='input'>
-</div></pre>
+<span class='co'># }</span></pre>
   </div>
   <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
     <h2>Contents</h2>
diff --git a/docs/reference/pull_wos.html b/docs/reference/pull_wos.html
index ae3e8d1..9823de9 100644
--- a/docs/reference/pull_wos.html
+++ b/docs/reference/pull_wos.html
@@ -64,7 +64,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
@@ -212,8 +212,7 @@ <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examp
 <span class='no'>query</span> <span class='kw'>&lt;-</span> <span class='st'>"TS = ((cadmium AND gill*) NOT Pisces)"</span>
 <span class='fu'><a href='query_wos.html'>query_wos</a></span>(<span class='no'>query</span>, <span class='kw'>sid</span> <span class='kw'>=</span> <span class='no'>sid</span>) <span class='co'># shows that there are 1,611 matching publications</span>
 <span class='fu'>pull_wos</span>(<span class='no'>query</span>, <span class='kw'>sid</span> <span class='kw'>=</span> <span class='no'>sid</span>)
-<span class='co'># }</span><div class='input'>
-</div></pre>
+<span class='co'># }</span></pre>
   </div>
   <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
     <h2>Contents</h2>
diff --git a/docs/reference/pull_wos_apply.html b/docs/reference/pull_wos_apply.html
index 73f945c..a2be1b2 100644
--- a/docs/reference/pull_wos_apply.html
+++ b/docs/reference/pull_wos_apply.html
@@ -63,7 +63,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
@@ -153,13 +153,12 @@ <h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>
 
     <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
     <pre class="examples"><span class='co'># NOT RUN {</span>
-<span class='no'>queries</span> <span class='kw'>&lt;-</span> <span class='fu'>c</span>(<span class='st'>'TS="dog welfare"'</span>, <span class='st'>'TS="cat welfare"'</span>)
+<span class='no'>queries</span> <span class='kw'>&lt;-</span> <span class='fu'>c</span>(<span class='st'>'TS = "dog welfare"'</span>, <span class='st'>'TS = "cat welfare"'</span>)
 <span class='co'># we can name the queries so that these names appear in the queries data</span>
 <span class='co'># frame returned by pull_wos_apply():</span>
 <span class='fu'>names</span>(<span class='no'>queries</span>) <span class='kw'>&lt;-</span> <span class='fu'>c</span>(<span class='st'>"dog welfare"</span>, <span class='st'>"cat welfare"</span>)
 <span class='fu'>pull_wos_apply</span>(<span class='no'>queries</span>)
-<span class='co'># }</span><div class='input'>
-</div></pre>
+<span class='co'># }</span></pre>
   </div>
   <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
     <h2>Contents</h2>
diff --git a/docs/reference/query_wos.html b/docs/reference/query_wos.html
index ea73262..9525bef 100644
--- a/docs/reference/query_wos.html
+++ b/docs/reference/query_wos.html
@@ -65,7 +65,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
diff --git a/docs/reference/query_wos_apply.html b/docs/reference/query_wos_apply.html
index 96fe6cd..67aa627 100644
--- a/docs/reference/query_wos_apply.html
+++ b/docs/reference/query_wos_apply.html
@@ -63,7 +63,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
@@ -152,10 +152,9 @@ <h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>
 
     <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
     <pre class="examples"><span class='co'># NOT RUN {</span>
-<span class='no'>queries</span> <span class='kw'>&lt;-</span> <span class='fu'>c</span>(<span class='st'>'TS="dog welfare"'</span>, <span class='st'>'TS="cat welfare"'</span>)
+<span class='no'>queries</span> <span class='kw'>&lt;-</span> <span class='fu'>c</span>(<span class='st'>'TS = "dog welfare"'</span>, <span class='st'>'TS = "cat welfare"'</span>)
 <span class='fu'>query_wos_apply</span>(<span class='no'>queries</span>)
-<span class='co'># }</span><div class='input'>
-</div></pre>
+<span class='co'># }</span></pre>
   </div>
   <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
     <h2>Contents</h2>
diff --git a/docs/reference/read_wos_data.html b/docs/reference/read_wos_data.html
index 2df73a1..766a93f 100644
--- a/docs/reference/read_wos_data.html
+++ b/docs/reference/read_wos_data.html
@@ -65,7 +65,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
@@ -143,8 +143,7 @@ <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examp
 <span class='fu'><a href='write_wos_data.html'>write_wos_data</a></span>(<span class='no'>wos_data</span>, <span class='st'>"."</span>)
 <span class='co'># Read data back into R</span>
 <span class='no'>wos_data</span> <span class='kw'>&lt;-</span> <span class='fu'>read_wos_data</span>(<span class='st'>"."</span>)
-<span class='co'># }</span><div class='input'>
-</div></pre>
+<span class='co'># }</span></pre>
   </div>
   <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
     <h2>Contents</h2>
diff --git a/docs/reference/wosr.html b/docs/reference/wosr.html
index 10225b2..0dd5d1d 100644
--- a/docs/reference/wosr.html
+++ b/docs/reference/wosr.html
@@ -63,7 +63,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
diff --git a/docs/reference/write_wos_data.html b/docs/reference/write_wos_data.html
index ed68941..1940aa9 100644
--- a/docs/reference/write_wos_data.html
+++ b/docs/reference/write_wos_data.html
@@ -64,7 +64,7 @@
       </button>
       <span class="navbar-brand">
         <a class="navbar-link" href="../index.html">wosr</a>
-        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.2</span>
+        <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.2.0</span>
       </span>
     </div>
 
@@ -148,8 +148,7 @@ <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examp
 <span class='co'># Write files to "wos-data" dir</span>
 <span class='fu'>dir.create</span>(<span class='st'>"wos-data"</span>)
 <span class='fu'>write_wos_data</span>(<span class='no'>wos_data</span>, <span class='st'>"wos-data"</span>)
-<span class='co'># }</span><div class='input'>
-</div></pre>
+<span class='co'># }</span></pre>
   </div>
   <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
     <h2>Contents</h2>