Revision 3b8dd010
Added by Jim Regetz over 12 years ago
- ID 3b8dd0105a836f2df4283b4470c1b138b42dd7bf
climate/extra/ghcn-to-sqlite.R | ||
---|---|---|
43 | 43 |
dbBeginTransaction(db) |
44 | 44 |
dbGetPreparedQuery(db, sql, bind.data = dat) |
45 | 45 |
dbCommit(db) |
46 |
dbGetQuery(db, "select count(*) from ghcn")[[1]] |
|
47 | 46 |
} |
48 | 47 |
|
49 | 48 |
# shell out to OS to leverage grep/awk/tr for faster initial parsing and |
Also available in: Unified diff
dropped unnecessary record-count query from bulk insert function