-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open access #135
Open access #135
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Works as expected!
Good to merge as is, but one thing for us to think about is that sometimes the Our hands are of course kinda tied in these cases, but there are some false negatives (
|
Nice catch, June 👀 . It's interesting that I think I'll do this: unnest this |
I like the I'm also on board with bring In any case, I agree that a top-level |
You're thorough as always! I just checked and it looks like this is the "best" URL, so we're expecting length-1 for oa_url! |
What it looks like now: library(openalexR)
false_negative_OAs <- c(
"https://openalex.org/W2165545766",
"https://openalex.org/W2104143313",
"https://openalex.org/W1533806699",
"https://openalex.org/W2005616914",
"https://openalex.org/W106193068",
"https://openalex.org/W2626261620",
"https://openalex.org/W2219574487",
"https://openalex.org/W4236254570",
"https://openalex.org/W2800319334",
"https://openalex.org/W1947610836",
"https://openalex.org/W3168388584",
"https://openalex.org/W2325295993",
"https://openalex.org/W4235001864
")
oa_fetch(identifier = false_negative_OAs) |>
dplyr::select(id, dplyr::contains("oa"), pdf_url)
#> # A tibble: 13 × 6
#> id is_oa is_oa_anywhere oa_sta…¹ oa_url pdf_url
#> <chr> <lgl> <lgl> <chr> <chr> <lgl>
#> 1 https://openalex.org/W2165545766 FALSE TRUE green http:… NA
#> 2 https://openalex.org/W2104143313 FALSE TRUE green https… NA
#> 3 https://openalex.org/W1533806699 FALSE TRUE green https… NA
#> 4 https://openalex.org/W2005616914 FALSE TRUE green https… NA
#> 5 https://openalex.org/W106193068 FALSE TRUE green http:… NA
#> 6 https://openalex.org/W2626261620 FALSE TRUE green https… NA
#> 7 https://openalex.org/W2219574487 FALSE TRUE green https… NA
#> 8 https://openalex.org/W4236254570 FALSE TRUE green https… NA
#> 9 https://openalex.org/W2800319334 FALSE TRUE green https… NA
#> 10 https://openalex.org/W1947610836 FALSE TRUE green http:… NA
#> 11 https://openalex.org/W3168388584 FALSE TRUE green http:… NA
#> 12 https://openalex.org/W2325295993 FALSE TRUE green https… NA
#> 13 https://openalex.org/W4235001864 FALSE TRUE green https… NA
#> # … with abbreviated variable name ¹oa_status Created on 2023-07-21 with reprex v2.0.2 |
Oh this is neat! That's it from me then - everything looks good! |
Closes #118, #134