-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.R
25 lines (20 loc) · 1.02 KB
/
global.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
################################################################################
# GLOBAL
#
# AUTORA: GABRIELA MATHIEU
# REPOSITORIO: https://github.com/calcita/compras_publicas
################################################################################
# PAQUETES Y CONSTANTES GLOBALES------------------------------------------------
files <- list.files(path = "utils", full.names = TRUE)
invisible(sapply(files, source))
# DATOS Y CODIGUERAS------------------------------------------------------------
load("tables/compras_all.RData")
load_all(path = "tables", ext = ".csv")
organismos_lista <- readLines("tables/organismos_lista.txt")
anios <- anios_codiguera %>% select(anio) %>% pull() %>% sort()
# DATOS MODULO CARRUSEL --------------------------------------------------------
load_all(path = "data", ext = ".csv")
load_all(path = "data", ext = ".txt")
# MODULOS ----------------------------------------------------------------------
files <- list.files(path = "modules", full.names = TRUE)
invisible(sapply(files, source))