How to formulate OR logic when using rcrossref

onboarding
package
r
Tags: #<Tag:0x00007f57f972aee0> #<Tag:0x00007f57f972a828> #<Tag:0x00007f57f972a530>

#1

Hello

I’m using the rcrossref::cr_works() function and would like to implement an ‘OR’ logic in my query. Something like filter(c=category_name=“Applied Psychology OR Social Psychology”)

How can I achieve this?


#2

thanks for your question @andreifoldes

As far as I know you can’t do OR, AND searchers or similar. They i think might be working on that, but i don’t think you can do that right now.

I guess for now you can do two different searches, and then deduplicate the results after combining them. Does that work?


#3

Sure thing, I just wanted to make sure I wasn’t missing out on an obvious solution :slight_smile:

Thanks


#4

yeah, sorry it doesn’t exist yet, i’ll definitely update the docs in the package and such when it is