Learn R Programming

metadat: Meta-Analysis Datasets for R

Description

The metadat package contains a large collection of meta-analysis datasets. These datasets are useful for teaching purposes, illustrating/testing meta-analytic methods, and validating published analyses.

Installation

The current official (i.e., CRAN) release can be installed within R with:

install.packages("metadat")

The development version of the package can be installed with:

install.packages("remotes")
remotes::install_github("wviechtb/metadat")

This builds the package from source based on the current version on GitHub.

Browsing and Searching for Datasets

A listing of all datasets in the package can be obtained with help(package=metadat). Each dataset is also tagged with one or multiple concept terms. These concept terms refer to various aspects of a dataset, such as the field/topic of research, the outcome measure used for the analysis, the model(s) used for analyzing the data, and the methods/concepts that can be illustrated with the dataset. The datsearch() function can be used to search among the existing datasets in the package based on their concept terms or based on a full-text search of their corresponding help files.

You can also read the documentation online at https://wviechtb.github.io/metadat/ (where the output from the example analyses corresponding to each dataset is provided).

Contributing New Datasets

We welcome contributions of new datasets to the package. For each dataset, there must be a citable reference, ideally in a peer-reviewed journal or publication. The general workflow for contributing a new dataset is as follows:

  • Install the metadat package in R in the usual manner (i.e., install.packages("metadat")).
  • If you are familiar with Git/GitHub and making pull requests, fork the package repository. Otherwise, download the source version of the package from GitHub and unzip the file to some directory on your computer.
  • Place the raw data (in a non-binary format) in the data-raw directory. The file should be named dat.<author><year>.<ext>, where <author> is the last name of the first author of the publication from which the data come, <year> is the publication year, and <ext> is the file extension (e.g., .txt, .csv).
  • Place a corresponding R script in the data-raw directory named dat.<author><year>.r that reads in the data, possibly does some data cleaning/processing, and then saves the dataset to the data directory (using save()), with name dat.<author><year>.rda.
  • Start R, load the metadat package (i.e., library(metadat)), and then run the prep_dat() function (either set the working directory to the location of the source package beforehand or use the pkgdir argument of the prep_dat() function to specify the source package location).
  • For a new dataset, this should create a boilerplate template for a corresponding help file in the man directory, named dat.<author><year>.Rd. Edit the help file, adding the title and a short description of the dataset in general, a description of each variable in the dataset, further details on the dataset (e.g., the field of research, how the data was collected, the purpose of the dataset or what it was used for, the effect size or outcome measure used in the analysis, the types of analyses/models that can be illustrated with the dataset), a reference for the source of the dataset, one or multiple concept terms, the name and email address of the contributor of the dataset, and (optionally) example code to illustrate the analysis of the dataset.
  • Either make a pull request (if you are familiar with this workflow) or zip up the dat.<author><year>.<ext>, dat.<author><year>.r, dat.<author><year>.rda, and dat.<author><year>.Rd files and open up a new issue at GitHub, attaching the zip file.
  • If the above makes no sense to you, you can also open an issue or email one of the package authors and attach a zip file including a cleaned, raw data file in .txt or .csv format, along with a meta-data file (format doesn't matter) that includes the information described above.

Citing the Package

If you use these data, please cite both the metadat package (see citation("metadat") for the reference) and the original source of the data as given under the help file of a dataset.

Bug/Error Reports

If you think you have found an error in an existing dataset or a bug in the package in general, please go to https://github.com/wviechtb/metadat/issues and open up a new issue.

Copy Link

Version

Install

install.packages('metadat')

Monthly Downloads

28,434

Version

1.4-0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Wolfgang Viechtbauer

Last Published

February 4th, 2025

Functions in metadat (1.4-0)

dat.assink2016

Studies on the Association between Recidivism and Mental Health
dat.bassler2004

Studies on Ketotifen Alone or as Additional Medication for Long-Term Control of Asthma and Wheeze in Children
dat.axfors2021

Mortality Outcomes with Hydroxychloroquine and Chloroquine in COVID-19 from an International Collaborative Meta-Analysis of Randomized Trials
dat.baskerville2012

Studies on the Effectiveness of Practice Facilitation Interventions
dat.baker2009

Studies on Pharmacologic Treatments for Chronic Obstructive Pulmonary Disease
dat.anand1999

Studies on the Effectiveness of Oral Anticoagulants in Patients with Coronary Artery Disease
dat.aloe2013

Studies on the Association Between Supervision Quality and Various Outcomes in Social, Mental Health, and Child Welfare Workers
dat.bakdash2021

Dataset on Situation Awareness and Task Performance Associations
dat.bartos2023

Results of 350,757 Coin Flips to Examine Same-Side Bias
dat.bangertdrowns2004

Studies on the Effectiveness of Writing-to-Learn Interventions
dat.berkey1998

Studies on Treatments for Periodontal Disease
dat.bonett2010

Studies on the Reliability of the CES-D Scale
dat.bourassa1996

Studies on the Association between Handedness and Eye-Dominance
dat.colditz1994

Studies on the Effectiveness of the BCG Vaccine Against Tuberculosis
dat.begg1989

Studies on Bone-Marrow Transplantation versus Chemotherapy for the Treatment of Leukemia
dat.bornmann2007

Studies on Gender Differences in Grant and Fellowship Awards
dat.cohen1981

Studies on the Relationship between Course Instructor Ratings and Student Achievement
dat.besson2016

Dataset on How Maternal Diet Impacts Copying Styles in Rodents
dat.bcg

Studies on the Effectiveness of the BCG Vaccine Against Tuberculosis
dat.cannon2006

Studies on the Effectiveness of Intensive Versus Moderate Statin Therapy for Preventing Coronary Death or Myocardial Infarction
dat.collins1985a

Studies on the Treatment of Upper Gastrointestinal Bleeding by a Histamine H2 Antagonist
dat.crede2010

Studies on the Relationship between Class Attendance and Grades in College Students
dat.curtis1998

Studies on the Effects of Elevated CO2 Levels on Woody Plant Mass
dat.debruin2009

Studies on Standard Care Quality and HAART-Adherence
dat.crisafulli2020

Duchenne Muscular Dystrophy (DMD) Prevalence Data
dat.craft2003

Studies on the Relationship between the Competitive State Anxiety Inventory-2 and Sport Performance
dat.collins1985b

Studies on the Effects of Diuretics in Pregnancy
dat.damico2009

Studies on Topical plus Systemic Antibiotics to Prevent Respiratory Tract Infections
dat.curtin2002

Studies on Potassium Supplementation to Reduce Diastolic Blood Pressure
dat.dagostino1998

Studies on the Effectiveness of Antihistamines in Reducing Symptoms of the Common Cold
dat.dong2013

Studies on Safety of Inhaled Medications for Chronic Obstructive Pulmonary Disease
dat.furukawa2003

Studies on Low Dosage Tricyclic Antidepressants for the Treatment of Depression
dat.frank2008

Studies on the Association Between the CASP8 -652 6N del Promoter Polymorphism and Breast Cancer Risk
dat.franchini2012

Studies on Dopamine Agonists to Reduce “Off-Time” in Patients with Advanced Parkinson Disease
dat.dorn2007

Studies on Complementary and Alternative Medicine for Irritable Bowel Syndrome
dat.dogliotti2014

Studies on Antithrombotic Treatments to Prevent Strokes
dat.gibson2002

Studies on the Effectiveness of Self-Management Education and Regular Medical Review for Adults with Asthma
dat.egger2001

Studies on the Effectiveness of Intravenous Magnesium in Acute Myocardial Infarction
dat.fine1993

Studies on Radiation Therapy with or without Adjuvant Chemotherapy in Patients with Malignant Gliomas
dat.dumouchel1994

Nitrogen dioxide data set
dat.hackshaw1998

Studies on the Risk of Lung Cancer in Women Exposed to Environmental Tobacco Smoke
dat.hannum2020

Studies Comparing Objective and Subjective Olfactory Loss in COVID-19 Patients
dat.hartmannboyce2018

Studies on the Effectiveness of Nicotine Replacement Therapy for Smoking Cessation
dat.hine1989

Studies on Prophylactic Use of Lidocaine After a Heart Attack
dat.gurusamy2011

Studies on Interventions to Reduce Mortality after Liver Transplantation
dat.graves2010

Studies on the Effectiveness of Injected Cholera Vaccines
dat.hart1999

Studies on the Effectiveness of Warfarin for Preventing Strokes
dat.ishak2007

Studies on Deep-Brain Stimulation in Patients with Parkinson's disease
dat.hasselblad1998

Studies on the Effectiveness of Counseling for Smoking Cessation
dat.knapp2017

Studies on Differences in Planning Performance in Schizophrenia Patients versus Healthy Controls
dat.lehmann2018

The Effect of Red on Perceived Attractiveness
dat.lau1992

Studies on Intravenous Streptokinase for Acute Myocardial Infarction
dat.laopaiboon2015

Studies on the Effectiveness of Azithromycin for Treating Lower Respiratory Tract Infections
dat.landenberger2005

Studies on the Effectiveness of CBT for Reducing Recidivism
dat.kalaian1996

Studies on the Effectiveness of Coaching for the SAT
dat.kearon1998

Studies on the Accuracy of Venous Ultrasonography for the Diagnosis of Deep Venous Thrombosis
dat.hahn2001

Studies on the Effectiveness of Different Rehydration Solutions for the Prevention of Unscheduled Intravenous Infusion in Children with Diarrhoea
dat.li2007

Studies on the Effectiveness of Intravenous Magnesium in Acute Myocardial Infarction
dat.konstantopoulos2011

Studies on the Effects of Modified School Calendars on Student Achievement
dat.lee2004

Studies on Acupoint P6 Stimulation for Preventing Nausea
dat.linde2015

Studies on Classes of Antidepressants for the Primary Care Setting
dat.lopez2019

Studies on the Effectiveness of CBT for Depression
dat.michael2013

The Non-Persuasive Power of a Brain Image
dat.molloy2014

Studies on the Relationship between Conscientiousness and Medication Adherence
dat.lim2014

Studies on the Association Between Maternal Size, Offspring Size, and Number of Offsprings
dat.mccurdy2020

Studies on the Generation Effect
dat.linde2005

Studies on the Effectiveness of St. John's Wort for Treating Depression
dat.mcdaniel1994

Studies on the Validity of Employment Interviews
dat.maire2019

Studies on Temporal Trends in Fish Community Structures in French Rivers
dat.linde2016

Studies on Antidepressants for the Primary Care Setting
dat.pagliaro1992

Studies on the Effectiveness of Nonsurgical Treatments in Cirrhosis
dat.nielweise2007

Studies on Anti-Infective-Treated Central Venous Catheters for Prevention of Catheter-Related Bloodstream Infections
dat.nakagawa2007

Assessing the Function of House Sparrows' Bib Size Using a Flexible Meta-Analysis Method
dat.moura2021

Studies on Assortative Mating
dat.pignon2000

Studies on the Effectiveness of Locoregional Treatment plus Chemotherapy for Head and Neck Squamous-Cell Carcinoma
dat.nielweise2008

Studies on Anti-Infective-Treated Central Venous Catheters for Prevention of Catheter-Related Bloodstream Infections
dat.raudenbush1985

Studies on Assessing the Effects of Teacher Expectations on Pupil IQ
dat.pritz1997

Studies on the Effectiveness of Hyperdynamic Therapy for Treating Cerebral Vasospasm
dat.senn2013

Studies on the Effectiveness of Glucose-Lowering Agents
dat.tannersmith2016

Studies on the Relationship between School Motivation and Criminal Behavior
dat.riley2003

Studies on MYC-N as a Prognostic Marker for Neuroblastoma
dat.stowe2010

Studies on Adjuvant Treatments to Levodopa Therapy for Parkinson disease
dat.normand1999

Studies on the Length of Hospital Stay of Stroke Patients
dat.obrien2003

Studies on the Relationship Between BMI and Risk of Preeclampsia
dat.vanhowe1999

Studies on the Association between Circumcision and HIV Infection
dat.viechtbauer2021

Studies to Illustrate Model Checking Methods
dat.spooner2002

Studies on Nedocromil Sodium for Preventing Exercise-Induced Bronchoconstriction
dat.white2020

Studies on the Relationship between Sexual Signal Expression and Individual Quality
dat.ursino2021

Sorafenib Toxicity Dataset
dat.roever2022

Irinotecan / S-1 Toxicity Dataset
metadat-package

Meta-Analysis Datasets for R
datsearch

Search Function for the Datasets
dat.yusuf1985

Studies of Beta Blockers During and After Myocardial Infarction
prep_dat

Data preparation function
dat.woods2010

Studies on Treatments for Chronic Obstructive Pulmonary Disease