Download and read ANAC flight data
Usage
download_flights_data(
file_url = parent.frame()$file_url,
showProgress = parent.frame()$showProgress,
select = parent.frame()$select,
cache = parent.frame()$cache
)
Arguments
- file_url
String. A url passed from
get_flights_url
.- showProgress
Logical, passed from
read_flights
- select
A vector of column names or numbers to keep, passed from
read_flights
- cache
Logical, passed from
read_flights
Examples
if (FALSE) if (interactive()) {
# Generate url
file_url <- get_flights_url(type='basica', year=2000, month=11)
# download data
a <- download_flights_data(file_url=file_url, showProgress=TRUE, select=NULL)
} # \dontrun{}