Skip to content

Instantly share code, notes, and snippets.

View cbuelo's full-sized avatar

Cal Buelo cbuelo

View GitHub Profile
@zacharystansell
zacharystansell / usda_nass_ag_production
Last active May 3, 2021 23:44
USDA-NASS crop acreage by county 2015-2020
---
title: "NASS"
author: "Zachary J. Stansell"
date: '`r format(Sys.Date(), "%d-%b-%Y")`'
output:
bookdown::html_document2:
highlight: pygments
theme: united
number_sections: no
toc: yes
@trestletech
trestletech / server.R
Last active October 3, 2025 05:03
A Shiny app combining the use of dplyr and SQLite. The goal is to demonstrate a full-fledged, database-backed user authorization framework in Shiny.
library(shiny)
library(dplyr)
library(lubridate)
# Load libraries and functions needed to create SQLite databases.
library(RSQLite)
library(RSQLite.extfuns)
saveSQLite <- function(data, name){
path <- dplyr:::db_location(filename=paste0(name, ".sqlite"))