matt-dray / tide

:ocean::pencil: R package: edit a data.frame in a spreadsheet-like editor, get code to reproduce it
https://www.rostrum.blog/2022/04/27/tide/
Other
7 stars 0 forks source link

Detect new rows #4

Open matt-dray opened 2 years ago

matt-dray commented 2 years ago

Every column is going to be updated. Find a smarter way of returning something like this:

df[5, "col1"] <- 1
df[5, "col2"] <- "A"
df[5, "col3"] <- "x"

Like a rowbind() or something. Might require static analysis? Need to have spotted that every column is represented for a single row, which is a new one.