Add column with sequence for each row to a sf object
1 | brk_timeline(sf, key, from, to, by)
|
sf |
object of class sf or sfc |
key |
a character string used as name of the new column |
from |
the starting value of the sequence. Of length 1 unless just from is supplied as an unnamed argument. |
to |
the end (maximal) value of the sequence. Of length 1 unless just from is supplied as an unnamed argument. |
by |
number: increment of the sequence. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.