This file contains 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
const Fuse = require("fuse.js"); | |
// The Cloud Functions for Firebase SDK to create Cloud Functions and setup triggers. | |
const functions = require('firebase-functions'); | |
// The Firebase Admin SDK to access the Firebase Realtime Database. | |
const admin = require('firebase-admin'); | |
admin.initializeApp(); | |
This file contains 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
# NOTE: TO RUN THIS SCRIPT, ENSURE THAT ALL THE REQUIRED FILES ARE IN THE SAME DIRECTORY AS THIS SCRIPT, | |
# TO RUN OPEN YOUR COMMAND LINE AND CD TO THE DIRECTORY THAT CONTAINS THE FILES, THEN TYPE "python slcsp_assignment_sourcecode.py" | |
# NOTE: YOU NEED A WORKING VERSION OF PYTHON INSTALLED ON YOUR MACHING TO RUN THIS SCRIPT | |
import csv | |
def get_all_slcsp(): | |
# /******load the csv files into lists***************/ |