beanumber / airlines

An R package providing access to medium airline flight delay data
21 stars 36 forks source link

error running commands from vignette #30

Closed nicholasjhorton closed 8 years ago

nicholasjhorton commented 8 years ago

When I ran:

db <- src_mysql(host = "localhost", user = "r-user", password = "mypass", dbname = "airlines") airlines <- etl("airlines", db, dir = "~/dumps/airlines") airlines %>% etl_create(year = 1987, months = 10)

it successfuly downloaded the October 1987 data but yielded the following message trying to get the airports table set up:

trying URL 'http://raw.githubusercontent.com/jpatokal/openflights/master/data/airports.dat' Error in download.file(src, lcl) : cannot open URL 'http://raw.githubusercontent.com/jpatokal/openflights/master/data/airports.dat'

I'm running Mac OS X 11.11.2 on a Macbook Air.

beanumber commented 8 years ago

The error is occurring here.

Is there some reason why you wouldn't be able to download that file? It's not HTTPS.

This worked on a Mac for me last night.

beanumber commented 8 years ago

Need to watch out for clobbering old files and test on other platforms.