Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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(gdata) | |
library(stringr) | |
library(readr) | |
library(gsubfn) | |
# Read in File | |
# This is the fixed file from Excel, but we want to do everything in R | |
# data <- | |
# read.csv("D:/Srishti/Year 2 Semester 1/Co-Create/books.csv", header = FALSE) |
This file contains hidden or 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(shiny) | |
ui <- fluidPage( | |
titlePanel("Srishti Library Database"), | |
# Sidebar layout with input and output definitions ---- | |
This file contains hidden or 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(shiny) | |
library(tidyverse) | |
library(gdata) | |
library(stringr) | |
library(readr) | |
library(gsubfn) | |
library(waiter) | |
# Define UI for data upload app ---- | |
gif <- paste0("https://media1.tenor.com/images", |
This file contains hidden or 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
# Takes in a file CSV file and outputs each row as a Markdown file with YAML front matter named after first column. | |
# Data in the first row of the CSV is assumed to be the column heading. | |
# Original work borrowed from: https://github.com/EvanLovely/csv_to_jekyll | |
# Adapted from https://www.bryanklein.com/blog/hugo-python-gsheets-oh-my/ | |
# Import the python libraries. | |
import gspread | |
from oauth2client.service_account import ServiceAccountCredentials | |
from pathlib import Path | |
import os |
NewerOlder