Complete reference for The Bluebook: A Uniform System of Citation (21st ed. 2020).
[Case Name], [Vol.] [Reporter] [First Page], [Pinpoint] ([Court] [Year]).
| <?xml version="1.0" encoding="utf-8"?> | |
| <style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US"> | |
| <info> | |
| <title>Bluebook Law Review (21st Edition)</title> | |
| <title-short>Bluebook 21e</title-short> | |
| <id>http://www.zotero.org/styles/bluebook-law-review-21e</id> | |
| <link href="http://www.zotero.org/styles/bluebook-law-review" rel="self"/> | |
| <link href="https://www.legalbluebook.com/" rel="documentation"/> | |
| <author> | |
| <name>Bruce D'Arcus</name> |
| // ==UserScript== | |
| // @name VitalSource to Readwise Sync | |
| // @namespace https://github.com/edwinhu | |
| // @version 1.3.2 | |
| // @description Sync VitalSource Bookshelf highlights to Readwise | |
| // @author Edwin Hu | |
| // @match https://*.vitalsource.com/* | |
| // @grant GM_getValue | |
| // @grant GM_setValue | |
| // @grant GM_xmlhttpRequest |
| proc sql; | |
| create table out.sp500 as | |
| select distinct a.permno, a.date, | |
| a.permco, | |
| c.ncusip as CUSIP, | |
| c.exchcd, | |
| c.tsymbol, | |
| c.shrcls | |
| from crsp.msf a, |
| # curl to get all of the zip files of PDFs | |
| curl https://www.sec.gov/foia/docs/adv/formadv_part2_[1-112].zip -o "/data/hue/adv2/formadv_part2_#1.zip" | |
| # list files | |
| unzip -l formadv_part2_1.zip | |
| # awk extract the part I care about | |
| unzip -p formadv_part2_100.zip 103705_325511_1_20200131.pdf | pdftotext - - | awk 'BEGIN{IGNORECASE=1};/^item 11/,/^item 12/' | |
| # build an index | |
| for f in *.zip |
| extract.bife <- function(model) { | |
| s <- summary(model) | |
| names <- rownames(s$coefmat_beta) | |
| co <- s$coef[, 1] | |
| se <- s$coef[, 2] | |
| tstat <- s$coef[, 3] | |
| pval <- s$coef[, 4] | |
| aic <- s$AIC | |
| bic <- s$BIC |
| /* The goal of this code is to identify all gvkeys in Compustat, | |
| and to estimate approximate start/end dates for these gvkeys */ | |
| proc sql; | |
| /* All NA Companies */ | |
| create table comp_name_range as | |
| select * | |
| from | |
| /* Company files contains all NA gvkeys */ | |
| (select gvkey, ein, cik, | |
| UPCASE(COMPBL(PRXCHANGE('s/[\W_]+/ /',-1,conm))) as conm, |
| /*******************READ ME********************************************* | |
| * - Macro to download and parse the Fama French Factors - | |
| * | |
| * SAS VERSION: 9.4.0 | |
| * DATE: 2014-03-06 | |
| * AUTHOR: eddyhu at the gmails | |
| * | |
| ****************END OF READ ME******************************************/ | |
| %macro GET_FFDATA(file=F-F_Research_Data_Factors, | |
| dsetout=ff_factors, |
| /*******************READ ME********************************************* | |
| * - Macro to Helmert transform (forward mean-difference) panel data - | |
| * | |
| * SAS VERSION: 9.4.0 | |
| * DATE: 2013-05-05 | |
| * AUTHOR: eddyhu at the gmails | |
| * | |
| ****************END OF READ ME******************************************/ | |
| %macro HELMERT(dsetin = &syslast., |