Redefine the name of a spider

set_name(.x, name)

See also

Other helpers: add_queue(), add_step(), run(), set_pipeline()

Examples

# this is often used after creating a template spider

template <- spider("template")

implementation_one <- set_name(spider(), "implementation_one")
implementation_one
#> # A spider: implementation_one 
#> ### Queue: 0 item(s)
#> ### Steps: 0

implementation_two <- set_name(spider(), "implementation_two")
implementation_two
#> # A spider: implementation_two 
#> ### Queue: 0 item(s)
#> ### Steps: 0