Created
March 27, 2018 05:02
-
-
Save geneorama/14b947e5dbe18caa620dd65bacdc170f to your computer and use it in GitHub Desktop.
import Weber mini temps
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
rm(list=ls()) | |
library(data.table) | |
txt <- fread("~/Downloads/iGrill Mini-5839 - Probe - 32418, 112903 AM.csv") | |
setnames(txt, 'Temperature (°F)', 'temperature') | |
setnames(txt, 'Date & Time', 'timestamp') | |
txt[ , timestamp := as.POSIXct(strptime(timestamp, "%m/%d/%y, %I:%M:%S %p"))] | |
txt[temperature == "--", temperature:=NA] | |
txt | |
plot(temperature~timestamp, txt, type="l") | |
abline(h=seq(0,500,10), col="lightgray", lty=3) | |
abline(h=225, col="gray60") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment