#Non-mathematical Introductions
- http://gcn.com/articles/2014/01/09/topographical-data-analysis.aspx
- https://www.simonsfoundation.org/quanta/20131004-the-mathematical-shape-of-things-to-come/
#Videos
My first examples with [***knitr***](http://yihui.name/knitr/) | |
----------------------------------------- | |
Let's include some simple R code: | |
```{r} | |
1+2 | |
``` | |
That worked. | |
Let's include a plot: | |
```{r fig.width=4, fig.height=4} |
#Non-mathematical Introductions
#Videos
### DATA SECTION | |
library(data.table) | |
## Read data with 'data.table::fread' | |
input <- fread("wu03ew_v1.csv", select = 1:3) | |
setnames(input, 1:3, new = c("origin", "destination","total")) | |
## Coordinates | |
centroids <- fread("msoa_popweightedcentroids.csv") | |
## 'Code' is the key to be used in the joins |
### Example Viridis Plot | |
library(ggplot2) | |
library(viridis) | |
library(season) | |
library(gridExtra) | |
pa<-ggplot(schz, aes(year, month, fill = SczBroad)) + | |
geom_tile(colour="gray20", size=1.5, stat="identity") + | |
scale_fill_viridis(option="A") + |
from bs4 import BeautifulSoup | |
import requests | |
import requests.exceptions | |
from urllib.parse import urlsplit | |
from urllib.parse import urlparse | |
from collections import deque | |
import re | |
url = "https://scrapethissite.com" | |
# a queue of urls to be crawled |
library(RemixAutoML) | |
library(data.table) | |
########################################### | |
# Prepare data for AutoTS()---- | |
########################################### | |
# Load Walmart Data from Dropbox---- | |
data <- data.table::fread("https://www.dropbox.com/s/2str3ek4f4cheqi/walmart_train.csv?dl=1") |