Skip to content

problems following instructions on vignette #54

@nicholasjhorton

Description

@nicholasjhorton

I'm running the github versions of etl and airlines.

When I ran:

library(airlines)
db <- src_mysql(host="localhost", user="root", password="XX", dbname="airlines")
ontime <- etl("airlines", db = db, dir = "~/dumps/airlines")
ontime %>%
etl_init() %>%
etl_update(years = 2015:2016)

I got the following error message when it got to 2016_06:

trying URL 'http://tsdata.bts.gov/PREZIP/On_Time_On_Time_Performance_2016_5.zip'

Content type 'application/x-zip-compressed' length 23829775 bytes (22.7 MB)

downloaded 22.7 MB

downloaded 0 bytes

Error in (function (url, destfile, method, quiet = FALSE, mode = "w", :
cannot download all files
In addition: Warning message:
In (function (url, destfile, method, quiet = FALSE, mode = "w", :
URL 'http://tsdata.bts.gov/PREZIP/On_Time_On_Time_Performance_2016_6.zip': status was '404 Not Found'

I'm on a Mac.

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