Teaching statistics or data science, we can use learnr package.
# library("learnr")
To collect data, we can use learnrhash
# library("learnrhash")
Remember to adjust parameters so your Shinyapp.io can handle the number of students you have in the class.
Connect from R to Wharton Research Data Services
to set up connection from R to WRDS (here)
library(RPostgres)
library(tidyverse)
# I've set up wrds connection before hand. # Please use your username and password here.
Information can be found in CRSP/COMPUSTAT MERGED DATABASE GUIDE
Change Identifiers:
Ticker: can be reassign to another company - abbreviation used to uniquely identify publicly-traded shares of a stock
CUSIP: A company can have multiple CUSIPS due to structural changes.