rxsFile_with_errors <-
  system.file(
    "extdata",
    "rxs-with-errors",
    "rxs_minimal_example_module2--erroneous_2.rxs.Rmd",
    package = "metabefor"
  );

The R chunk above locates an R Extraction Script file (Rxs file) that is included with the {metabefor} package and that contains errors. This file is then included below. To view the raw R Extraction Script, follow this link.

Validation results

  • Validation run starting at 2024-08-22 at 08:51:19 CEST (UTC+0200)
  • ✅ Passed validation: the source identifier you specified, ‘qurid_7h50rzmz’, matches the predefined format!
  • ✅ Passed validation: the extractor identifier you specified, ‘extractor_A1’, matches the predefined format!
  • ✅ Passed validation: all entity identifiers are unique!
  • ✅ Passed validation: all entity identifiers were specified!
  • ⛔ Failed validation for entity ‘sampleSize’: sampleSize is not a single whole number, but has value: ‘two’
  • ⛔ Failed validation for entity ‘samplingStrategy’: samplingStrategy is not a single character value (i.e. a ‘string’), but has value: ‘1’ & ‘8’
  • ✅ Passed validation for entity ‘method’!
  • ✅ Passed validation for clustered entity ‘variableIdentifier’ (in clustering entity ‘criminals’!
  • ✅ Passed validation for clustered entity ‘measurementLevel’ (in clustering entity ‘criminals’!
  • Validation run ending at 2024-08-22 at 08:51:19 CEST (UTC+0200)

Rxs tree of extracted entities


                     levelName
1 source                      
2  °--methods                 
3      ¦--sample              
4      ¦   ¦--sampleSize      
5      ¦   °--samplingStrategy
6      ¦--method              
7      °--variables           
8          °--criminals       

Table with extracted entities and extracted values

path entity nodeValue
source/methods/sample sampleSize two
source/methods/sample samplingStrategy ‘1’ & ‘8’
source/methods method Quantitative
source/methods/variables/criminals variableIdentifier criminals
source/methods/variables/criminals measurementLevel Nominal