Skip to content

Instantly share code, notes, and snippets.

@karthik
karthik / small.csv
Created June 17, 2016 20:38
small_csv
time sensor value
2016-05-11T12:30:01.000Z 3 0.055233707815
2016-05-11T12:30:04.000Z 3 0.050927011303
2016-05-11T12:30:07.000Z 3 0.046860631202
2016-05-11T12:30:09.000Z 3 0.044669326014
2016-05-11T12:30:11.000Z 3 0.044591875799
2016-05-11T12:30:12.000Z 4 0.047467439235
2016-05-11T12:30:14.000Z 4 0.05264906395
2016-05-11T12:30:16.000Z 4 0.052565799135
2016-05-11T12:30:20.000Z 4 0.056233105719
@karthik
karthik / small.csv
Created June 17, 2016 20:21
small_data
time sensor value
2016-05-11T12:30:01.000Z 3 0.055233707815
2016-05-11T12:30:04.000Z 3 0.050927011303
2016-05-11T12:30:07.000Z 3 0.046860631202
2016-05-11T12:30:09.000Z 3 0.044669326014
2016-05-11T12:30:11.000Z 3 0.044591875799
2016-05-11T12:30:12.000Z 4 0.047467439235
2016-05-11T12:30:14.000Z 4 0.05264906395
2016-05-11T12:30:16.000Z 4 0.052565799135
2016-05-11T12:30:20.000Z 4 0.056233105719
---
title: "Paper"
author: "Karthik Ram"
date: "March 4, 2016"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
@karthik
karthik / 01-fisheries.md
Created August 10, 2015 18:56
Reproducible example of fisheries data

title

library(rfisheries)
library(dplyr)
@karthik
karthik / 01-fisheries.Rmd
Created August 10, 2015 14:06
Reproducible example of fisheries data
```{r echo=FALSE}
knitr::opts_knit$set(upload.fun = imgur_upload, base.url = NULL)
```
```{r}
library(rfisheries)
library(dplyr)
species <- of_species_codes()
who <- c("TUX", "COD", "VET", "NPA")
@karthik
karthik / 01-fisheries.md
Created July 20, 2015 14:16
Reproducible example of fisheries data
library(rfisheries)
library(dplyr)

species <- of_species_codes()
who <- c("TUX", "COD", "VET", "NPA")
by_species &lt;- lapply(who, function(x) of_landings(species = x)) %&gt;% rbind_all
@karthik
karthik / 01-fisheries.Rmd
Last active August 29, 2015 14:25
Reproducible example of fisheries data
```{r echo=FALSE}
knitr::opts_knit$set(upload.fun = imgur_upload, base.url = NULL)
```
```{r}
library(rfisheries)
library(dplyr)
species <- of_species_codes()
who <- c("TUX", "COD", "VET", "NPA")
@karthik
karthik / 01-fisheries.Rmd
Last active August 29, 2015 14:24
Reproducible example of fisheries data
```{r echo=FALSE}
knitr::opts_knit$set(upload.fun = imgur_upload, base.url = NULL)
```
```{r}
library(rfisheries)
library(dplyr)
species <- of_species_codes()
who <- c("TUX", "COD", "VET", "NPA")
@karthik
karthik / 01-fisheries.md
Created July 8, 2015 16:31
Reproducible example of fisheries data
library(rfisheries)
library(dplyr)

species <- of_species_codes()
who <- c("TUX", "COD", "VET", "NPA")
by_species &lt;- lapply(who, function(x) of_landings(species = x)) %&gt;% rbind_all
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.