You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
## # published_date <chr>, year <chr>, title <chr>,
47
+
## # updated_resource <chr>, authors <list>
48
+
```
49
+
34
50
####What's returned?
35
51
36
52
The client supports API version 2. According to the[Unpaywall Data Format](https://unpaywall.org/data-format), the following variables with the following definitions are returned:
@@ -39,24 +55,24 @@ The client supports API version 2. According to the [Unpaywall Data Format](http
`best_oa_location`|list-column describing the best OA location. Algorithm prioritizes publisher hosted content (e.g. Hybrid or Gold)
42
-
`oa_locations`|list-column of all the OA locations.
58
+
`oa_locations`|list-column of all the OA locations.
43
59
`oa_locations_embargoed` | list-column of locations expected to be available in the future based on information like license metadata and journals' delayed OA policies
44
-
`data_standard`|Indicates the data collection approaches used for this resource.`1` mostly uses Crossref for hybrid detection.`2` uses more comprehensive hybrid detection methods.
45
-
`is_oa`|Is there an OA copy (logical)?
46
-
`is_paratext`| Is the item an ancillary part of a journal, like a table of contents? See here for more information<https://support.unpaywall.org/support/solutions/articles/44001894783>.
60
+
`data_standard`|Indicates the data collection approaches used for this resource.`1` mostly uses Crossref for hybrid detection.`2` uses more comprehensive hybrid detection methods.
61
+
`is_oa`|Is there an OA copy (logical)?
62
+
`is_paratext`| Is the item an ancillary part of a journal, like a table of contents? See here for more information<https://support.unpaywall.org/support/solutions/articles/44001894783>.
47
63
`genre`|Publication type
48
64
`oa_status`|Classifies OA resources by location and license terms as one of: gold, hybrid, bronze, green or closed. See here for more information<https://support.unpaywall.org/support/solutions/articles/44001777288-what-do-the-types-of-oa-status-green-gold-hybrid-and-bronze-mean->.
49
65
`has_repository_copy`|Is a full-text available in a repository?
50
-
`journal_is_oa`|Is the article published in a fully OA journal? Uses the Directory of Open Access Journals (DOAJ) as source.
66
+
`journal_is_oa`|Is the article published in a fully OA journal? Uses the Directory of Open Access Journals (DOAJ) as source.
51
67
`journal_is_in_doaj`|Is the journal listed in the Directory of Open Access Journals (DOAJ).
52
68
`journal_issns`|ISSNs, i.e. unique code to identify journals.
53
69
`journal_issn_l`|Linking ISSN.
54
70
`journal_name`|Journal title
55
71
`publisher`|Publisher
56
72
`published_date`|Date published
57
-
`year`|Year published.
58
-
`title`|Publication title.
59
-
`updated_resource`|Time when the data for this resource was last updated.
73
+
`year`|Year published.
74
+
`title`|Publication title.
75
+
`updated_resource`|Time when the data for this resource was last updated.
60
76
`authors`|Lists authors (if available)
61
77
62
78
The columns`best_oa_location` and`oa_locations` are list-columns that contain useful metadata about the OA sources found by Unpaywall These are
@@ -65,7 +81,7 @@ The columns `best_oa_location` and `oa_locations` are list-columns that contai
`is_best`|Is this location the \code{best_oa_location} for its resource?
70
86
`license`|The license under which this copy is published
71
87
`oa_date`|When this document first became available at this location
@@ -79,31 +95,46 @@ The columns `best_oa_location` and `oa_locations` are list-columns that contai
79
95
80
96
The Unpaywall schema is also described here:<https://unpaywall.org/data-format>.
81
97
82
-
The columns`best_oa_location`.`oa_locations` and`oa_locations_embargoed` are list-columns that contain useful metadata about the OA sources found by Unpaywall.
98
+
The columns`best_oa_location`.`oa_locations` and`oa_locations_embargoed` are list-columns that contain useful metadata about the OA sources found by Unpaywall.
83
99
84
100
If`.flatten = TRUE` the list-column`oa_locations` will be restructured in a long format where each OA fulltext is represented by one row, which allows to take into account all OA locations found by Unpaywall in a data analysis.
There are no API restrictions. However, Unpaywall requires an email address when using its API. If you are too tired to type in your email address every time, you can store the email in the`.Renviron` file with the option`roadoi_email`
131
+
There are no API restrictions. However, Unpaywall requires an email address when using its API. If you are too tired to type in your email address every time, you can store the email in the`.Renviron` file with the option`roadoi_email`
101
132
102
133
```
103
134
roadoi_email = "najko.jahn@gmail.com"
104
135
```
105
136
106
-
You can open your`.Renviron` file calling
137
+
You can open your`.Renviron` file calling
107
138
108
139
```r
109
140
file.edit("~/.Renviron")`
@@ -115,14 +146,34 @@ Save the file and restart your R session. To stop sharing the email when using r
115
146
116
147
To follow your API call, and to estimate the time until completion, use the`.progress` parameter inherited from`plyr` to display a progress bar.
## # published_date <chr>, year <chr>, title <chr>,
173
+
## # updated_resource <chr>, authors <list>
174
+
```
175
+
125
176
126
-
###References
177
+
###References
127
178
128
179
Piwowar, H., Priem, J., Larivière, V., Alperin, J. P., Matthias, L., Norlander, B., … Haustein, S. (2018). The state of OA: a large-scale analysis of the prevalence and impact of Open Access articles. PeerJ, 6, e4375.<https://doi.org/10.7717/peerj.4375>
[Unpaywall](https://unpaywall.org/), developed and maintained by the [team of OurResearch](https://ourresearch.org/team/about), is a non-profit service that finds open access copies of scholarly literature by looking up a DOI (Digital Object Identifier). It not only returns open access full-text links, but also helpful metadata about the open access status of a publication such as licensing or provenance information.
14
+
15
+
Unpaywall uses different data sources to find open access full-texts including:
16
+
17
+
- [Crossref](https://www.crossref.org/): a DOI registration agency serving major scholarly publishers.
18
+
- [Directory of Open Access Journals (DOAJ)](https://doaj.org/): a registry of open access journals
19
+
- Various OAI-PMH metadata sources. OAI-PMH is a protocol often used by open access journals and repositories such as arXiv and PubMed Central.
20
+
21
+
See [Piwowar et al. (2018)](https://doi.org/10.7717/peerj.4375) for a comprehensive overview of Unpaywall.
22
+
23
+
### Basic usage
24
+
25
+
There is one major function to talk with Unpaywall, `oadoi_fetch()`, taking a character vector of DOIs and your email address as required arguments.
The client supports API version 2. According to the [Unpaywall Data Format](https://unpaywall.org/data-format), the following variables with the following definitions are returned:
`best_oa_location`|list-column describing the best OA location. Algorithm prioritizes publisher hosted content (e.g. Hybrid or Gold)
42
+
`oa_locations`|list-column of all the OA locations.
43
+
`oa_locations_embargoed` | list-column of locations expected to be available in the future based on information like license metadata and journals' delayed OA policies
44
+
`data_standard`|Indicates the data collection approaches used for this resource. `1` mostly uses Crossref for hybrid detection. `2` uses more comprehensive hybrid detection methods.
45
+
`is_oa`|Is there an OA copy (logical)?
46
+
`is_paratext`| Is the item an ancillary part of a journal, like a table of contents? See here for more information <https://support.unpaywall.org/support/solutions/articles/44001894783>.
47
+
`genre`|Publication type
48
+
`oa_status`|Classifies OA resources by location and license terms as one of: gold, hybrid, bronze, green or closed. See here for more information <https://support.unpaywall.org/support/solutions/articles/44001777288-what-do-the-types-of-oa-status-green-gold-hybrid-and-bronze-mean->.
49
+
`has_repository_copy`|Is a full-text available in a repository?
50
+
`journal_is_oa`|Is the article published in a fully OA journal? Uses the Directory of Open Access Journals (DOAJ) as source.
51
+
`journal_is_in_doaj`|Is the journal listed in the Directory of Open Access Journals (DOAJ).
52
+
`journal_issns`|ISSNs, i.e. unique code to identify journals.
53
+
`journal_issn_l`|Linking ISSN.
54
+
`journal_name`|Journal title
55
+
`publisher`|Publisher
56
+
`published_date`|Date published
57
+
`year`|Year published.
58
+
`title`|Publication title.
59
+
`updated_resource`|Time when the data for this resource was last updated.
60
+
`authors`|Lists authors (if available)
61
+
62
+
The columns `best_oa_location` and `oa_locations` are list-columns that contain useful metadata about the OA sources found by Unpaywall These are
`evidence`|How the OA location was found and is characterized by Unpaywall?
68
+
`host_type`|OA full-text provided by `publisher` or `repository`.
69
+
`is_best`|Is this location the \code{best_oa_location} for its resource?
70
+
`license`|The license under which this copy is published
71
+
`oa_date`|When this document first became available at this location
72
+
`pmh_id`|OAI-PMH endpoint where we found this location
73
+
`repository_institution`|Hosting institution of the repository.
74
+
`updated`|Time when the data for this location was last updated
75
+
`url`|The URL where you can find this OA copy.
76
+
`url_for_landing_page`| The URL for a landing page describing this OA copy.
77
+
`url_for_pdf`|The URL with a PDF version of this OA copy.
78
+
`versions`|The content version accessible at this location following the DRIVER 2.0 Guidelines (<https://wiki.surfnet.nl/display/DRIVERguidelines/DRIVER-VERSION+Mappings>)
79
+
80
+
The Unpaywall schema is also described here: <https://unpaywall.org/data-format>.
81
+
82
+
The columns `best_oa_location`. `oa_locations` and `oa_locations_embargoed` are list-columns that contain useful metadata about the OA sources found by Unpaywall.
83
+
84
+
If `.flatten = TRUE` the list-column `oa_locations` will be restructured in a long format where each OA fulltext is represented by one row, which allows to take into account all OA locations found by Unpaywall in a data analysis.
There are no API restrictions. However, Unpaywall requires an email address when using its API. If you are too tired to type in your email address every time, you can store the email in the `.Renviron` file with the option `roadoi_email`
101
+
102
+
```
103
+
roadoi_email = "najko.jahn@gmail.com"
104
+
```
105
+
106
+
You can open your `.Renviron` file calling
107
+
108
+
```r
109
+
file.edit("~/.Renviron")`
110
+
```
111
+
112
+
Save the file and restart your R session. To stop sharing the email when using roadoi, delete it from your `.Renviron` file.
113
+
114
+
#### Keeping track of crawling
115
+
116
+
To follow your API call, and to estimate the time until completion, use the `.progress` parameter inherited from `plyr` to display a progress bar.
Piwowar, H., Priem, J., Larivière, V., Alperin, J. P., Matthias, L., Norlander, B., … Haustein, S. (2018). The state of OA: a large-scale analysis of the prevalence and impact of Open Access articles. PeerJ, 6, e4375. <https://doi.org/10.7717/peerj.4375>