Extract to sqlite db from R: Renaming row_name column -


i'm writing sqlite db r using following command:

dbwritetable(con, 'topics',as.data.frame(topics), row.names = na, overwrite = false, append = true, field.types = null) 

i following table in sqlite: enter image description here

how can rename row_names attribute?

the df [as.data.frame(topics)] snippet is: enter image description here

this row.names argument dbwritetable for: set character value rename column, set null avoid writing altogether. explore guessrowname() function in dbi package other options.


Comments

Popular posts from this blog

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -