rempsyc / busara_dashboard

The Missing Majority in Behavioural Science Dashboard
https://remi-theriault.com/dashboards/missing_majority
1 stars 0 forks source link

Problem with PSPB #28

Closed rempsyc closed 6 months ago

rempsyc commented 8 months ago

I've been having problems with PSPB for a while now... linked to #26.

The issue is that internally on PubMed, PSPB is written with an Ampersand. It seems that when I search with "and" instead of "&", PubMed provides no results. Yet, when I include "&", then it creates a bug when retrieving data. I've been doing a lot of back and forth on this, with no resolution so far.

image
image

Trying with "and" instead of "&"

image

Trying with "&" also doesn't work (time out because too many results somehow, but that shouldn't be the case)

image

The way it's internally saved by easyPubMed is "Personality & Social Psychology Bulletin", so I tried also using & instead of &:

image
rempsyc commented 8 months ago

Using truncation with quotes is not a solution...

When search terms are in quotation marks, PubMed ignores the truncation symbol. My strategy had relied heavily on truncated phrases, all of which were in quotation marks (to avoid PubMed’s automatic term mapping), and all of which were being interpreted as singular rather than plural terms (e.g. “patient outcome*” would search only for “patient outcome” and not “patient outcomes”).

psforscher commented 8 months ago

This is a bit of a shot in the dark, but could this be a character encoding issue? That has come up for some "big team" projects I've done with the Psychological Science Accelerator, where characters do not render correctly, leading to problems with study execution and/or data analysis.