Skip to content

Commit e2f84b3

Browse files
committed
once again
1 parent 2140bbe commit e2f84b3

2 files changed

Lines changed: 18 additions & 35 deletions

File tree

README.md

Lines changed: 18 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ oa_df <- roadoi::oadoi_fetch(random_dois,
253253

254254
#### Analysis
255255

256-
<<<<<<< HEAD
257256
roadoi returns the data in a consistent structure improved for further analysis in R.
258257

259258

@@ -263,14 +262,14 @@ oa_df
263262
#> doi best_oa_location oa_locations oa_locations_em… data_standard is_oa
264263
#> <chr> <list> <list> <list> <int> <lgl>
265264
#> 1 10.1… <tibble [0 × 0]> <tibble [0 … <tibble [0 × 0]> 2 FALSE
266-
#> 2 10.1… <tibble [0 × 0]> <tibble [0 … <tibble [0 × 0]> 2 FALSE
267-
#> 3 10.1… <tibble [1 × 9]> <tibble [2 … <tibble [0 × 0]> 2 TRUE
265+
#> 2 10.1… <tibble [1 × 8]> <tibble [1 … <tibble [0 × 0]> 2 TRUE
266+
#> 3 10.1… <tibble [0 × 0]> <tibble [0 … <tibble [0 × 0]> 2 FALSE
268267
#> 4 10.1… <tibble [0 × 0]> <tibble [0 … <tibble [0 × 0]> 2 FALSE
269-
#> 5 10.1… <tibble [0 × 0]> <tibble [0 … <tibble [0 × 0]> 2 FALSE
268+
#> 5 10.7… <tibble [0 × 0]> <tibble [0 … <tibble [0 × 0]> 2 FALSE
270269
#> 6 10.1… <tibble [0 × 0]> <tibble [0 … <tibble [0 × 0]> 2 FALSE
271270
#> 7 10.1… <tibble [0 × 0]> <tibble [0 … <tibble [0 × 0]> 2 FALSE
272-
#> 8 10.1… <tibble [0 × 0]> <tibble [0 … <tibble [0 × 0]> 2 FALSE
273-
#> 9 10.3… <tibble [0 × 0]> <tibble [0 … <tibble [0 × 0]> 2 FALSE
271+
#> 8 10.1… <tibble [1 × 8]> <tibble [1 … <tibble [0 × 0]> 2 TRUE
272+
#> 9 10.1… <tibble [1 × 9]> <tibble [1 … <tibble [0 × 0]> 2 TRUE
274273
#> 10 10.1… <tibble [0 × 0]> <tibble [0 … <tibble [0 × 0]> 2 FALSE
275274
#> # … with 40 more rows, and 15 more variables: is_paratext <lgl>, genre <chr>,
276275
#> # oa_status <chr>, has_repository_copy <lgl>, journal_is_oa <lgl>,
@@ -283,23 +282,16 @@ For example, to determine how many full-text links were found and which sources
283282

284283

285284
```r
286-
=======
287-
roadoi returns the data in a consistent structure improved for further analysis in R. For example, to determine how many full-text links were found and which sources were used:
288-
#> Error: <text>:1:1: Unerwartete(s) '=='
289-
#> 1: ==
290-
#> ^
291-
```
292-
293-
```r
294-
>>>>>>> 70e7915333d1bc2b210427025ce2d0709f7fd739
295285
oa_df %>%
296286
group_by(is_oa) %>%
297287
summarise(Articles = n()) %>%
298288
mutate(Proportion = Articles / sum(Articles)) %>%
299289
arrange(desc(Articles))
300-
#> Error: <text>:1:1: Unerwartete(s) '>'
301-
#> 1: >
302-
#> ^
290+
#> # A tibble: 2 x 3
291+
#> is_oa Articles Proportion
292+
#> <lgl> <int> <dbl>
293+
#> 1 FALSE 38 0.76
294+
#> 2 TRUE 12 0.24
303295
```
304296

305297
How did Unpaywall find those Open Access full-texts, which were characterized as best matches, and how are these OA types distributed over publication types?
@@ -313,19 +305,16 @@ oa_df %>%
313305
group_by(oa_status, evidence, genre) %>%
314306
summarise(Articles = n()) %>%
315307
arrange(desc(Articles))
316-
#> # A tibble: 9 x 4
317-
#> # Groups: oa_status, evidence [9]
308+
#> # A tibble: 6 x 4
309+
#> # Groups: oa_status, evidence [5]
318310
#> oa_status evidence genre Articles
319311
#> <chr> <chr> <chr> <int>
320-
#> 1 gold open (via page says license) journal-article 4
321-
#> 2 bronze open (via free pdf) journal-article 2
322-
#> 3 green oa repository (via OAI-PMH doi match) journal-article 2
323-
#> 4 hybrid open (via crossref license) journal-article 2
324-
#> 5 gold oa journal (via observed oa rate) journal-article 1
325-
#> 6 gold oa journal (via publisher name) component 1
326-
#> 7 gold open (via free pdf) journal-article 1
327-
#> 8 green oa repository (semantic scholar lookup) book 1
328-
#> 9 hybrid open (via page says license) journal-article 1
312+
#> 1 bronze open (via free pdf) journal-article 6
313+
#> 2 gold open (via page says license) journal-article 2
314+
#> 3 gold oa journal (via publisher name) component 1
315+
#> 4 green oa repository (semantic scholar lookup) journal-article 1
316+
#> 5 green oa repository (semantic scholar lookup) monograph 1
317+
#> 6 hybrid open (via page says license) journal-article 1
329318
```
330319

331320
#### More examples

vignettes/intro.Rmd

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ oa_df <- roadoi::oadoi_fetch(random_dois,
152152

153153
#### Analysis
154154

155-
<<<<<<< HEAD
156155
roadoi returns the data in a consistent structure improved for further analysis in R.
157156

158157
```{r}
@@ -162,11 +161,6 @@ oa_df
162161
For example, to determine how many full-text links were found and which sources were used:
163162

164163
```{r}
165-
=======
166-
roadoi returns the data in a consistent structure improved for further analysis in R. For example, to determine how many full-text links were found and which sources were used:
167-
168-
```{r}
169-
>>>>>>> 70e7915333d1bc2b210427025ce2d0709f7fd739
170164
oa_df %>%
171165
group_by(is_oa) %>%
172166
summarise(Articles = n()) %>%

0 commit comments

Comments
 (0)