R/read_aircrafts.R

Defines functions read_aircrafts

Documented in read_aircrafts

#' Download aircrafts data from Brazil
#'
#' @description
#'`r lifecycle::badge("deprecated")`
#'
#' This function was deprecated in favor of `read_aircraft()` simply to
#' fix a typo in the function name.
#'
#' @template date
#' @template showProgress
#' @template cache
#'
#' @return A `"data.table" "data.frame"` object. All columns are returned with
#'         `class` of type `"character"`.
#' @export
#' @keywords internal
#' @family download flight data
#' @examples \dontrun{ if (interactive()) {
#' # Read aircraft data
#' aircraft <- read_aircraft(date = 202001,
#'                           showProgress = TRUE)
#'
#'}}
read_aircrafts <- function(date = 202001,
                           showProgress = TRUE,
                           cache = TRUE
                           ){


  lifecycle::deprecate_warn("1.0.1", "read_aircrafts()", "read_aircraft()")


  temp <- read_aircraft(date = date,
                showProgress = FALSE,
                cache = cache)

  return(temp)
}

Try the flightsbr package in your browser

Any scripts or data that you put into this service are public.

flightsbr documentation built on June 8, 2025, 1:17 p.m.