Skip to content

Instantly share code, notes, and snippets.

View aleruete's full-sized avatar
:octocat:

Alejandro Ruete aleruete

:octocat:
View GitHub Profile
@aleruete
aleruete / server.R
Created March 14, 2018 09:18 — forked from trestletech/server.R
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"))