Skip to content
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

Add apc information #212

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add apc information #212

wants to merge 4 commits into from

Conversation

yjunechoe
Copy link
Collaborator

The apc_list and apc_paid fields in a Work object are now returned as a single data frame in the apc column of the df output

devtools::load_all()
x <- oa_fetch(identifier = c("W1964141474", "W1963991285"))
x$apc
#> [[1]]
#> [1] NA
#> 
#> [[2]]
#>   type value currency value_usd provenance
#> 1 list  4480      USD      4480       doaj
#> 2 paid  4480      USD      4480       doaj

@yjunechoe
Copy link
Collaborator Author

(I'm actually very puzzled by the testthat error I'm getting and can't seem to figure it out - will return to fix at a later time)

@trangdata
Copy link
Collaborator

(I'm actually very puzzled by the testthat error I'm getting and can't seem to figure it out - will return to fix at a later time)

Very strange message indeed! We can always wait a couple days to see if this resolves itself on the OpenAlex's end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants