FIRST INSTALL LIBRARIES RELATED TO CAFFE COMPILATION
brew install leveldb gperftools snappy glog gflags lmdb openblas boost boost-python
DOWNLOAD CAFFE FROM
| 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" | |
| ) |
| # 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") |
| 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")' |
| 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) |
| 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 |