Skip to content

Commit

Permalink
Merge pull request #8 from ronnyhdez/T6
Browse files Browse the repository at this point in the history
Ref #6 lectura de datos desde bucket
  • Loading branch information
andreavargasmon authored Jul 17, 2020
2 parents 38fb26c + 7d2f51c commit 09b7c51
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ library(readr)
library(janitor)
library(lubridate)
library(readxl)
url <- "https://storage.googleapis.com/datos_cursos/PJCROD_INDICESALARIAL_V1.xls"
indice_salarial <- read_excel("PJCROD_INDICESALARIAL_V1.xls") %>%
temp = tempfile(fileext = ".xls")
download.file(url, destfile = temp, mode = 'wb')
indice_salarial <- read_excel(temp) %>%
mutate(salario_antes = as.numeric(Salario_Base_Ant),
salario_actual = as.numeric(Salario_Base_Act),
indice = as.numeric(I_C_S))
Expand Down

0 comments on commit 09b7c51

Please sign in to comment.