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
--- | |
title: "Calendar - DIYD3" | |
output: | |
html_document: | |
df_print: paged | |
# template: heatmap_template.html | |
--- | |
```{r echo = F, results = 'asis'} | |
knitr::opts_chunk$set( |
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
zoo | |
data.table | |
dplyr | |
tidyr |
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
/* rs-theme-name: Mojave Dark 2 */ | |
/* rs-theme-is-dark: TRUE */ | |
/* THIS THEME WAS AUTOGENERATED BY Theme.tmpl.css (UUID: D8D5E82E-3D5B-46B5-B38E-8C841C21347D) */ | |
.ace_snippet-marker { | |
background: rgb(21,126,251); | |
color: white; | |
border: none !important; | |
border-top: 1px solid rgb(110, 111, 130); | |
border-bottom: 1px solid rgb(110, 111, 130); |
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
# Forked from https://github.com/github/gitignore | |
# History files | |
.Rhistory | |
.Rapp.history | |
# R Project files | |
.Rproj.user | |
# Session Data files | |
.RData |
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
library(tidyverse) | |
library(glue) | |
library(httr) | |
library(jsonlite) | |
library(lubridate) | |
library(purrr) | |
token <- NA | |
base <- "https://api.darksky.net/forecast/{token}/" %>% |
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
#' santa(guests) is a function that assigns guests to a "secret santa" gift swap | |
#' @param guests the vector of partygoers | |
#' @return a tibble, with <guests> assigned in "to" and "from" columns | |
library(magrittr) | |
library(tibble) | |
santa <- function(guests) { | |
n <- length(guests) | |
tibble ( |
A simple tool for extracting discrete color palette values from the viridis collection of color palettes.
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
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
** * | |
** extract_numeric.sas * | |
** purpose: extract numeric component from string * | |
** todo: leading strings break pattern * | |
** * | |
`* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |
data strings; |
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
HHHHHH >>HHHH | |
HHHHHH >>>>HH | |
HHHHHH |
NewerOlder