Skip to content

Commit

Permalink
slb
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Oct 8, 2018
1 parent ac3d492 commit 366a3dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions data-raw/import_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ library(arkdb)

src <- src_mysql("fbapp", "mysql", password = "root")
tables <- DBI::dbListTables(src$con)
good_tables <- tables #[tables != "keys"]
arkdb::ark(src, fs::dir_create("fb"), lines = 100000L, tables = good_tables)
good_tables <- tables[tables != "keys"]
arkdb::ark(src, fs::dir_create("fb"), lines = 100000L,
tables = good_tables, overwrite = FALSE)

## Check we aren't losing stuff
#tbl(src, "comnames") %>% summarise(n())
Expand Down

0 comments on commit 366a3dd

Please sign in to comment.