R/load_example_data.R

Defines functions load_example_data

Documented in load_example_data

#' Load example dataset
#'
#' @return Example dataset as tibble
#' @importFrom readr read_csv
#'
#' @author Guilherme N. Jardim, Department of Economics, Pontifical Catholic University of Rio de Janeiro
#'
#' @export

load_example_data <- function() {

    data <- readr::read_csv(system.file("extdata", "censo.csv",
                                        package = "entrymodels"))

}

Try the entrymodels package in your browser

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

entrymodels documentation built on July 2, 2020, 1:55 a.m.