Skip to content

Error in .local(conn, statement, ...) : could not run statement: Incorrect database name 'dat_' #56

@ssp3nc3r

Description

@ssp3nc3r

Version of the package I'm using is 1.8.4

Here's traceback information:

...

http://gd2.mlb.com/components/game/mlb/year_2008/month_07/day_30/miniscoreboard.xml 
http://gd2.mlb.com/components/game/mlb/year_2008/month_07/day_31/miniscoreboard.xml 
http://gd2.mlb.com/components/game/mlb/year_2008/month_08/day_01/miniscoreboard.xml 
Successfully copied game table to database connection.
 Hide Traceback
 
 Rerun with Debug
 Error in .local(conn, statement, ...) : 
  could not run statement: Incorrect database name 'dat_' 
5.
.local(conn, statement, ...) 
4.
DBI::dbSendQuery(connect, sprintf("ALTER TABLE %s ADD %s %s", 
    name, i, type)) 
3.
DBI::dbSendQuery(connect, sprintf("ALTER TABLE %s ADD %s %s", 
    name, i, type)) at scrape.R#427
2.
export(connect, name = i, value = tables[[i]], template = fields[[i]]) at scrape.R#146
1.
scrape2(start = "2008-07-02", end = "2008-08-01", async = F, 
    suffix = files, connect = conn) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions