Skip to content

Instantly share code, notes, and snippets.

View jasonpott's full-sized avatar
🗯️

Jason Pott jasonpott

🗯️
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jasonpott on github.
  • I am jasonpott (https://keybase.io/jasonpott) on keybase.
  • I have a public key ASCNKIOjnU7M_9r4ICOHtKm4ZxepagvnjllEqCJeDMW5Fwo To claim this, I am signing this object:
{
  "body": {
    "key": {
@jasonpott
jasonpott / purrr_map_multiple_event_extract.R
Created December 10, 2021 20:11
Method to extract sequential events for a defined population in MS SQL via dbplyr / purrr / R
# con is a connection object
#Package load
pacman::p_load(tidyverse, tidylog, janitor, pool,odbc, dbplyr)
dbConnect(
odbc(),
Driver = "SQL Server",
Server = "server name",
@jasonpott
jasonpott / project_setup.R
Last active June 22, 2022 11:19
R analysis project folder setup script
cat(
"# History files",
".Rhistory",
".Rapp.history",
"# Session Data files",
".RData",
"# User-specific files",
".Ruserdata",
"# Example code in package build process",