edu:moneda:start
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
edu:moneda:start [2022/03/01 17:10] – son0p | edu:moneda:start [2022/03/01 17:12] (actual) – son0p | ||
---|---|---|---|
Línea 15: | Línea 15: | ||
get_dayly_data <- function(day_to_retrieve) { | get_dayly_data <- function(day_to_retrieve) { | ||
- | ## COLCAP stock prices | + | url <- glue(" |
- | ## url <- " | + | |
- | | + | |
GET(url, write_disk(tf <- tempfile(fileext = " | GET(url, write_disk(tf <- tempfile(fileext = " | ||
df <- read_excel(tf, | df <- read_excel(tf, | ||
str(df) | str(df) | ||
- | | + | |
if (any(dim(df) == c(0, 0))) { | if (any(dim(df) == c(0, 0))) { | ||
return(tibble(`Nemotecnico` = "", | return(tibble(`Nemotecnico` = "", | ||
Línea 30: | Línea 28: | ||
} | } | ||
- | selected_species <- c(" | + | selected_species <- c(" |
datos <- days_to_retrieve %>% | datos <- days_to_retrieve %>% |
edu/moneda/start.1646154607.txt.gz · Última modificación: 2022/03/01 17:10 por son0p