beanumber / airlines

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

add the part of 1987 included with the airline data into the vignette? #22

Closed nicholasjhorton closed 9 years ago

nicholasjhorton commented 9 years ago

why start at 1988?

nicholasjhorton commented 9 years ago

This should work on your end, no?

airlines %<>% etl_update(year = 1987, months = 10:12)

beanumber commented 9 years ago

Yes. That should work. In the minimal vignette, the workflow is:

airlines %<>%
  etl_create(year = 1987)
lapply(1988:2015, etl_update, obj = airlines)

Right now, it is not smart enough to avoid inserting duplicate rows, so you have to be careful not to do that. Hence we create the database with 1987 data, and then update it with everything since.

beanumber commented 9 years ago

This will likely go away with the new workflow.