university | grade | name | category | url |
---|---|---|---|---|
UAI | Diplomado | Diplomado Big Data para Políticas Públicas | Data Science | http://www.uai.cl/facultades/diplomado-big-data-para-politicas-publicas |
UC | Magister | Magíster en Procesamiento y Gestión de la Información | Data Science | http://mpgi.ing.puc.cl |
UC | Diplomado | Diplomado Big Data | Data Sci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(httr) | |
library(jsonlite) | |
uf <- function(x, year, apikey) { | |
response <- GET(paste0("http://api.sbif.cl/api-sbifv3/recursos_api/uf/",year,"?apikey=",apikey,"&formato=json")) | |
data <- fromJSON(txt=content(response))$UFs | |
data$Valor <- sub("\\.","",data$Valor) | |
data$Valor <- sub("\\,",".",data$Valor) | |
data$Valor <- as.numeric(data$Valor) | |
media <- mean(data$Valor) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM rocker/rstudio | |
#RUN R -e 'install.packages(c("dplyr"), repos="http://cran.us.r-project.org")' | |
#RUN R -e 'install.packages(c("ggplot2","ggvis"), repos="http://cran.us.r-project.org")' |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to open MS Access databases on R | |
# 1. Download UCanAccess https://sourceforge.net/projects/ucanaccess/ | |
# 2. Install RJDBC package in R | |
# Example: | |
library(RJDBC) | |
options(java.parameters = "-Xmx4g") |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(httr) | |
library(rvest) | |
headers <- add_headers( | |
"User-Agent" = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36", | |
"Referer" = "https://redatam-ine.ine.cl/redbin/RpWebStats.exe/AreaList?BASE=CENSO_2017&ITEM=AREAPOB&lang=esp", | |
"Host" = "redatam-ine.ine.cl", | |
"X-Requested-With" = "XMLHttpRequest" | |
) |