listData: List all available databases

View source: R/listData.R

listDataR Documentation

List all available databases

Description

This function lists all publicly available Metapsy databases. It prints all database shorthands, which can be used to import data using getData().

Usage

listData()

Value

Returns a data.frame of all available databases by shorthand, along with a URL for the database documentation entry.

Author(s)

Mathias Harrer mathias.h.harrer@gmail.com

See Also

getData

Examples

## Not run: 
# List all available databases
listData()

# Get latest version of the 'depression-psyctr' database
d <- getData("depression-psyctr")

# Get version 22.2.0 of the 'depression-inpatients' database
d <- getData("depression-inpatients", "22.2.0")

# Show variable description
d$variableDescription()

# Open online documentation
d$openDocumentation()

# Analyze using metapsyTools
library(metapsyTools)
runMetaAnalysis(d, which.run = "combined")

## End(Not run)


metapsy-project/metapsyData documentation built on Oct. 23, 2024, 2:03 p.m.