MyNixOS website logo
Description

Open Datasets from Meta-Analyses in Psychology Research.

Data and examples from meta-analyses in psychology research.

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.

Metadata

Version

1.0.1

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows