Learn R Programming

psymetadata

This data package provides open datasets from meta-analyses from different areas in psychological science.

Installation

Until it’s available on CRAN, you can install this package from GitHub with:

# install.packages("devtools")
devtools::install_github("josue-rodriguez/psymetadata")

Adding a dataset

If you’d like to contribute a dataset to this package please do the following steps:

1)

Clone the repository to your local machine

2)

Clean your dataset so it is of type data.frame and has at least the following columns:

  • study_id: unique id for study
  • es_id: unique id for effect size (if applicable)
  • yi: effect size
  • vi: variance of effect size

Column names should follow snake case formatting. This can easily be done by calling janitor::clean_names() on your data set.

Feel free to include as many moderators or additional columns as you would like.

3)

Assign your dataset to an object with the format [firstauthor][year] and save it to the data folder with the format [firstauthor][year].rda, e.g.

curry2015 <- cleaned_dataset
save(curry2015, file = "data/curry2015.rda")

where curry2015 is a dataset originally collected from the publication Curry, Thompson, and Green (2015)

4)

Add a bibtex reference to the inst/REFERENCES.bib file. This can be easily obtained with a citation manager (e.g., Zotero) or with Google scholar

5)

Document your dataset at the bottom of the R/data.R file.

The documentation should roughly follow this format:

#' @title [Title]
#'
#' @description Results from [# of studies] studies, including [# of effect sizes] effect 
#' sizes ([type of effect size]), on [short description of studies] \insertCite{[cite key]}{psymetadata}.
#'
#' @format A data frame with [# of rows] rows and [# of columns] variables:
#'
#' * \code{yi}: [description]
#' * \code{vi}: [description]
#' * \code{study_id}: [description]
#' * \code{es_id}: [description]
#' * \code{moderator1}: [description]
#' * \code{moderator2}: [description]
#'
#'
#' @md
#'
#' @details Further details can be found at \href{[link]}{[link]}
#'
#' @usage data("[dataset]")
#'
#' @references
#' \insertAllCited{}
"[dataset]"
  • Take a look at the data.R file for more examples

6)

Submit a pull request

Copy Link

Version

Install

install.packages('psymetadata')

Monthly Downloads

183

Version

1.0.1

License

GPL (>= 2)

Maintainer

Josue E. Rodriguez

Last Published

March 23rd, 2022

Functions in psymetadata (1.0.1)

nuijten2020

Data collected from meta-analyses on intelligence research
manybabies2020

Studies from ManyBabies 1: Infant-Directed Speech Preference.
steffens2020

Studies on Social Identity Theory and Leadership: Leader Group Prototypicality
stasielowicz2020

Studies on the importance of cognitive ability in performance adaptation
lowe2020

Studies on the advantage of bilingualism in children: a meta-analytic review
agadullina2018

Studies on Out-Group Entitativity and Prejudice
aksayli2019

Studies on the cognitive and academic benefits of Cogmed
stasielowicz2019a

Studies on the association between goal orientation and performance adaptation
stasielowicz2019b

Studies on the association between goal orientation and performance adaptation
coles2019

Studies on the Facial Feedback Literature
barroso2021

Studies on Math Anxiety and Math Achievement
maccann2020

Studies examining whether student emotional intelligence is associated with academic performance
schroeder2020

Studies on the effects of transcranial direct current stimulation on inhibitory control
spaniol2020

Studies on Executive function components in intellectual disability
wibbelink2017

Studies on juvenile recidivism
stramaccia2021

Studies on memory suppression and its deficiency in psychological disorders
noble2019

Studies on Shared Reading and Language Development
manylabs2018

Studies from the Many Labs 2 project.
gnambs2020

Studies on the Color Red and Cognitive Performance
gamble2019

Meta-analytic data collected from studying on the specificity of future thinking in depression
maldonado2020

Studies on Age Differences in Executive Functioning
sala2019

Studies on the impact of working-memory training on near- and far-transfer measures