R/tud.R

Defines functions getTUD

Documented in getTUD

#' Loads time use data
#'
#' \code{getTUD} does what it says - loads and cleans time-use diary data.
#'
#'
#' @param f the file
#'
#' @import data.table
#' @import lubridate
#' @import readxl
#'
#' @author Ben Anderson, \email{b.anderson@@soton.ac.uk}
#' @export
#'
#'
getTUD <- function(f) {
  # stub
  print(paste0("Loading Time Use Diary Data from: ", f))
  dt <- data.table::data.table()
  print("Too do")
  return(dt)
}
CfSOtago/GREENGridData documentation built on June 10, 2022, 8:03 p.m.