data-raw/create_especies_no_mezcla.R

library(devtools)
original_wd <- getwd()
setwd("data-raw")
especies_no_mezcla <- read.csv("especies_no_mezcla.csv", fileEncoding = "UTF-8")

# use_data() create the file in /data
usethis::use_data(especies_no_mezcla, overwrite = TRUE)

devtools::document()

setwd(original_wd)
rm(original_wd, especies_no_mezcla)
Eucrow/sapmuebase documentation built on June 23, 2024, 7:21 p.m.