cran / prolific.api

:exclamation: This is a read-only mirror of the CRAN R package repository. prolific.api — A User-Friendly Interface for Accessing the Prolific API
1 stars 0 forks source link

Custom blacklist/whitelist and exclude/include from previous studies prescreeners do not work #1

Open oliviafischer opened 3 months ago

oliviafischer commented 3 months ago

Love the R package! However, it seems the prescreeners with the titles "Custom Blacklist", "Custom Whitelist", "Exclude participants from previous studies", and "Include participants from previous studies" do not work. I tried including them in a study like this (R version 4.3.3):

# exclude participants that participated in previous studies
previous_studies_prescreener <-
  prolific_prescreener(
    title = "Exclude participants from previous studies",
    "previous_study_id"
  )

# create study
new_study <- prolific_study(
  # other arguments
  # ...
  eligibility_requirements = list(
    previous_studies_prescreener
  )
)

Then when I try to submit the study via prolific_api_access$access(), I get the following error:

 Error in .output_prolific_study(.self, x) : 
    Found the following issues:
      Invalid prescreener title: Exclude participants from previous studies!
      Use the help '?prescreeners' to identifiy proper prescreening variables.
gaborcsardi commented 3 months ago

Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Look for Maintainer, BugReports and URL. Thanks!