Skip to content

Instantly share code, notes, and snippets.

@neerajt
neerajt / .block
Last active November 15, 2016 23:41
city of houston meetup venues with map - d3 boxes
license: mit
border: no
@neerajt
neerajt / .block
Created November 1, 2016 21:42
fresh forest block
license: mit
@neerajt
neerajt / .block
Last active November 2, 2016 21:50
south park
license: mit
@neerajt
neerajt / .block
Created November 8, 2016 22:16
south park
license: mit
@neerajt
neerajt / .block
Created February 25, 2017 17:24
flight-paths-full-map
license: mit
@neerajt
neerajt / .block
Last active February 25, 2017 19:01
flight-paths-houston
license: mit
@neerajt
neerajt / en_to_es_for_needs_api
Created September 22, 2017 15:07
English to Spanish translations for needs api views
<!-- SHELTERS TAB -->
Albergue
Agregar albergue
Mostrar : Búsqueda:
10
entradas
@neerajt
neerajt / shiny-ubuntu-reference.md
Created December 19, 2017 16:46
setting up shiny server on ubuntu

To install latest version of R

  echo "deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu trusty/" > /etc/sources.list.d/r.list
  sudo apt-get update
  sudo apt-get upgrade -y
  sudo apt-get dist-upgrade -y
  sudo apt-get install r-base -y

To install git

  sudo apt-get install git
@neerajt
neerajt / 0 Text Mining and NLP
Last active November 8, 2018 17:49
Text Mining and NLP
11/06/18 Station Houston
Houston R User Group
Text Mining and NLP
Ami Duran
library('Matrix')
library('dplyr')
library(shiny)
library(quantmod)
get_symbols <- function(symbol){
symbol_data <- getSymbols(symbol,
src = "yahoo",
auto.assign = FALSE)
names(symbol_data) <- c("Open", "High", "Low", "Close", "Volume", "Adjusted.Close")
symbol_data
}