R/getDataset.R

Defines functions getDataset

Documented in getDataset

#'Acquisition of data
#'
#'@description this function permits the users to get the data from a csv file stored in the folder "inst/extdata".
#'Putting this function into the shiny app, it will get the data needed for the package.
#'@example getDataset()
#'
#'@export


getDataset <- function(){
  dataset <- read.csv(system.file("extdata", "Provadue.csv", package = "ExpenditureEducation"), sep = ";")
  return(dataset)
}
unimi-dse/862b54b8 documentation built on Feb. 16, 2020, 4:44 a.m.