R/netImport.R

Defines functions netImport

Documented in netImport

#' Import Data
#'
#' Imports data from BTS/RITA/Transtats website
#' File order doesn't matter, but it is recommended to name the files using the following
#' syntax: \emph{"Coupon YearQuarter.csv", "Ticket YearQuarter.csv", "T100 Year".}
#' Note: We do recommend sparklyr to be used for larger sets of data.
#'
#' @param x First csv file to be imported, in case of DB1B database, or in case of using
#' the T-100 database, the only file to be included.
#' @param y Second csv file to be imported.
#' @examples
#' \dontrun{
#'
#' netImport(skynet_example("Coupon_2001Q1.csv"), skynet_example("Ticket_2001Q1.csv"))
#'
#' }
#' @export
#'
#'

netImport <- function(x = NULL, y = NULL){
  warning("netImport function is deprecated, please use `import_db1b()`, or `import_t100()`.")
}



pos <- 1
envir <- as.environment(pos)
FilipeamTeixeira/skynet documentation built on Nov. 3, 2022, 5:36 p.m.