spider.Rd
combination of multiple steps to be applied in parellel to data
the name of the spider to be used for logging purposes
the default pipeline()
to apply to the data after all steps are applied
s_multiply <- spider('multiply', queue = 1:4, steps = list(parser( ~ .x * 2)))
s_multiply
#> # A spider: multiply
#> ### Queue: 4 item(s)
#> ### Steps: 1
#> ( 1 ) A parser: ~.x * 2
run(s_multiply)
#> Executing parser ~.x * 2
#> [[1]]
#> [1] 2
#>
#> [[2]]
#> [1] 4
#>
#> [[3]]
#> [1] 6
#>
#> [[4]]
#> [1] 8
#>