knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Once sources have been screened, the relevant data have to be extracted from the included sources. metabefor can facilitate this process through R Extraction Scripts (abbreviated to Rxs; the corresponding file extension is .rxs.Rmd).

The extraction script is generated based on a spreadsheet that specifies the entities to be extracted from the included sources as well as what kinds of values are accepted for these entities. These specifications can be read from a Google Sheets document as well as from local comma separated values files. metabefor function rxs_fromSpecifications reads these specifications and writes an Rxs remplate to disk that can then be copied for each source and filled with the extracted information.

These completed Rxs files can then be read into R by metabefor's rxs_parseExtractionScripts function, after which the data can be prepared for further analysis, for example using metafor.

The first worksheet specifies the entities to extract. It must have the following columns (the names can be different: any deviations must be specified in argument valueTemplateCols when calling rxs_fromSpecifications):

The value templates contain the following columns:



Matherion/metabefor documentation built on Nov. 8, 2019, 7:34 a.m.