rbindSdf {SQLiteDF} | R Documentation |
Adds rows to a SQLite data frame.
rbindSdf(sdf, df)
sdf |
the SQLite data frame with which to insert new data. |
df |
the data frame to attach |
This is equivalent to performing an insert
statement. The
data frame names and the column types must match, although they
may be not arranged exactly the same.
Returns the 1st argument (sdf).
Currently SDFs are not supported as the 2nd arg. This could be achieved by doing batch rbindSdf to chunks of another SDF.
Miguel A. R. Manese
b1 <- sqlite.data.frame(iris) rbindSdf(b1, iris) nrow(b1) # nrow(iris) * 2