-
Notifications
You must be signed in to change notification settings - Fork 1
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 items #2
Comments
Hi, Simon! Thanks for making me aware of this great resource, I'd not heard of openalex prior to your issue! Concerning your issue, I apologize that the documentation is lacking (and the code is a mess). I've pushed a revised version of the package, and it should hopefully cover your problem.
|
Great! It's pretty good, and should cover crossref+ (I've been playing with it as an alternative to the closed indexes), there have been a couple of studies on its coverage. There are some disambiguation issues with it (I know some papers under my name were not authored by me), but that was also true of MAG, and I hope they'll be able to fix it. Thanks for the quick reply too, and for sharing the package. I tested, and I can see using
This is a single row of openalexR form data (lightly edited) pre-wrangling:
Post-wrangling:
Tested both:
Then as I understand, to add these to Zotero I first add them to the local data structure using this, where group_lib is just selected with an ID.
And then to post to the API, as with the collection (and here assigned so I can inspect the log), this bit won't work at the moment because post_items isn't functioning.
|
Can you check the lastest commit? It hope it should solve the problem, but it needs further testing. |
Using the example above, Issue: I made one minor change to my earlier mutate, to remove the rownames from creators (zotero rejects it otherwise):
Then this works to post them:
Thanks! |
Hi
Apologies if I'm missing something, I'm trying to add items to Zotero via a tibble of items. I've checked the item structure in c2z, and mutated my tibble (from openalex, using
openalexr
package) to match minus the Zotero metadata fields (e.g., ID).There's no obvious error in the
c2z::ZoteroPost
log.I can provide a reprex issue, but realise this is unlikely to be priority (and thanks for creating and sharing the package).
The text was updated successfully, but these errors were encountered: