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

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -