Displaying 1 result from an estimated 1 matches for "ss09pusa".
2010 Nov 15
5
How to Read a Large CSV into a Database with R
...e
how to confirm that or what to change if it is. I do want to get all
columns from the CSV into the data table, so I don't want to filter
anything.
library(sqldf)
setwd("R:\\American Community Survey\\Data\\2009")
sqldf("attach 'sqlite' as new")
read.csv.sql("ss09pusa.csv" , sql="create table ss09pusa as select * from
file" , dbname="sqlite")
sqldf("select * from ss09pusa limit 3",dbname="sqlite")
I've also tried using the SQL IMPORT command, which I couldn't get working
properly, even on a tiny two-field, f...