Skip to content

Instantly share code, notes, and snippets.

View HcNguyen111's full-sized avatar
💭
What is status?

Cong Hoang Nguyen HcNguyen111

💭
What is status?
  • Australia
View GitHub Profile
@trestletech
trestletech / server.R
Last active February 2, 2022 09:47
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"))