This function lists all publicly available Metapsy databases. It prints all
database shorthands, which can
be used to import data using getData()
.
Value
Returns a data.frame
of all available databases by shorthand,
along with a URL for the database documentation entry.
Author
Mathias Harrer mathias.h.harrer@gmail.com
Examples
if (FALSE) {
# 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")
}