Skip to contents

Load data from given path recursively.

Usage

load_path_json(
  data_path,
  pattern = "\\.json(|\\.gz|\\.xz|\\.bz2)$",
  cache = NULL
)

Arguments

data_path

Data path to load from.

pattern

Regular expression pattern to match.

cache

File name to use as data cache.

Value

Tibble with loaded data.

See also

Examples

load_path_json (rren_example (), pattern = '^results-small-version-[0-9]+\\.json$')
#> # A tibble: 18 × 9
#>    index  time total vm_name   vm_version vm_configuration run   vm    benchmark
#>    <int> <dbl> <dbl> <fct>     <fct>      <fct>            <fct> <fct> <fct>    
#>  1     1  7.56  7.56 OpenJDK … 25.332-b09 ""               /hom… 39b0… naive-ba…
#>  2     2  5.47 13.0  OpenJDK … 25.332-b09 ""               /hom… 39b0… naive-ba…
#>  3     3  5.20 18.2  OpenJDK … 25.332-b09 ""               /hom… 39b0… naive-ba…
#>  4     1 19.2  19.2  OpenJDK … 25.332-b09 ""               /hom… 39b0… page-rank
#>  5     2  2.76 21.9  OpenJDK … 25.332-b09 ""               /hom… 39b0… page-rank
#>  6     3  2.77 24.7  OpenJDK … 25.332-b09 ""               /hom… 39b0… page-rank
#>  7     1  7.91  7.91 OpenJDK … 25.332-b09 ""               /hom… 39b0… naive-ba…
#>  8     2  5.75 13.7  OpenJDK … 25.332-b09 ""               /hom… 39b0… naive-ba…
#>  9     3  5.51 19.2  OpenJDK … 25.332-b09 ""               /hom… 39b0… naive-ba…
#> 10     1 21.7  21.7  OpenJDK … 25.332-b09 ""               /hom… 39b0… page-rank
#> 11     2  2.97 24.7  OpenJDK … 25.332-b09 ""               /hom… 39b0… page-rank
#> 12     3  2.88 27.6  OpenJDK … 25.332-b09 ""               /hom… 39b0… page-rank
#> 13     1  5.41 10.4  OpenJDK … 17.0.3+7   ""               /hom… cec0… page-rank
#> 14     2  2.45 14.9  OpenJDK … 17.0.3+7   ""               /hom… cec0… page-rank
#> 15     3  2.33 18.5  OpenJDK … 17.0.3+7   ""               /hom… cec0… page-rank
#> 16     1  7.80 30.3  OpenJDK … 17.0.3+7   ""               /hom… cec0… naive-ba…
#> 17     2  1.43 31.7  OpenJDK … 17.0.3+7   ""               /hom… cec0… naive-ba…
#> 18     3  1.28 33.0  OpenJDK … 17.0.3+7   ""               /hom… cec0… naive-ba…