Legal Research Guide
Conduct systematic legal research across jurisdictions, analyze case law, navigate statutory frameworks, and use computational legal tools for academic and practice-oriented research.
Legal Research Frameworks
IRAC Method
The standard analytical framework for legal reasoning:
| Step |
Description |
Example |
| Issue |
Identify the legal question |
"Does web scraping of public data constitute a CFAA violation?" |
| Rule |
State the applicable legal rule |
"The CFAA prohibits accessing a computer 'without authorization' or 'exceeding authorized access'" |
| Application |
Apply the rule to the facts |
"In hiQ v. LinkedIn, the 9th Circuit held that scraping publicly available data does not violate the CFAA..." |
| Conclusion |
State the legal conclusion |
"Therefore, scraping publicly available academic data likely does not violate the CFAA, though terms-of-service issues remain." |
CREAC Method (For Academic Legal Writing)
C - Conclusion (state your thesis)
R - Rule (present the legal rule with authority)
E - Explanation (analyze how courts have interpreted the rule)
A - Application (apply the rule to your specific scenario)
C - Conclusion (restate and refine conclusion)
Legal Research Databases
Primary Sources
| Database |
Coverage |
Cost |
Best For |
| Westlaw (Thomson Reuters) |
US, UK, EU, international |
Subscription |
Comprehensive case law, KeyCite citator |
| LexisNexis |
US, UK, international |
Subscription |
News integration, Shepard's citator |
| Google Scholar (Case Law) |
US federal and state courts |
Free |
Quick case lookup, citation tracking |
| Casetext / CoCounsel |
US courts |
Subscription |
AI-powered legal research |
| CourtListener |
US federal courts |
Free |
PACER alternative, bulk data |
| EUR-Lex |
EU law |
Free |
EU legislation, CJEU case law |
| BAILII |
UK, Ireland |
Free |
UK case law and legislation |
| Justia |
US law |
Free |
US case law, statutes, regulations |
| HeinOnline |
Historical legal materials |
Subscription |
Law journals, treaties, legislative history |
Secondary Sources
| Source |
Content |
Use |
| Law reviews / journals |
Scholarly analysis |
Academic research, policy arguments |
| Restatements |
ALI compilations of common law |
Authoritative secondary source |
| Treatises |
Comprehensive subject coverage |
Deep dive into specific areas |
| Legal encyclopedias (AmJur, CJS) |
Broad legal summaries |
Starting point for unfamiliar areas |
| Practice guides |
Practical how-to |
Practitioner-oriented research |
Citation Systems
Bluebook (US Standard)
# Case citation
Marbury v. Madison, 5 U.S. (1 Cranch) 137 (1803).
Brown v. Board of Education, 347 U.S. 483, 495 (1954).
# Statute citation
42 U.S.C. Section 1983 (2018).
Cal. Civ. Code Section 1798.100 (West 2020). # California statute
# Law review article
Jane Smith, The Future of AI Regulation, 120 Harv. L. Rev. 456 (2024).
# Book
Richard Posner, Economic Analysis of Law 25 (9th ed. 2014).
# Short form citations (after first full citation)
Brown, 347 U.S. at 495.
Smith, supra note 12, at 460.
Id. at 462. # Same source as immediately preceding citation
OSCOLA (UK/Oxford Standard)
# Case citation
Donoghue v Stevenson [1932] AC 562 (HL).
R v Brown [1994] 1 AC 212, 237 (HL).
# Statute citation
Human Rights Act 1998, s 3.
Data Protection Act 2018, s 170(1).
# Journal article
Jane Smith, 'The Future of AI Regulation' (2024) 120 Modern Law Review 456.
# Book
Richard Posner, Economic Analysis of Law (9th edn, Aspen 2014) 25.
Computational Legal Research
Case Law Analysis with Python
import requests
import json
# Using the CourtListener API (free, open-source)
BASE_URL = "https://www.courtlistener.com/api/rest/v3"
def search_opinions(query, court="scotus", page_size=20):
"""Search case opinions via CourtListener API."""
response = requests.get(
f"{BASE_URL}/search/",
params={
"q": query,
"type": "o", # opinions
"court": court,
"page_size": page_size,
"order_by": "score desc"
},
headers={"Authorization": "Token YOUR_API_TOKEN"}
)
results = response.json()
for case in results.get("results", []):
print(f"[{case.get('dateFiled', 'N/A')}] {case.get('caseName', 'N/A')}")
print(f" Court: {case.get('court', 'N/A')}")
print(f" Citation: {case.get('citation', ['N/A'])[0] if case.get('citation') else 'N/A'}")
print(f" URL: https://www.courtlistener.com{case.get('absolute_url', '')}")
return results
# Search for AI-related Supreme Court cases
results = search_opinions("artificial intelligence", court="scotus")
Citation Network Analysis
import networkx as nx
def build_citation_network(seed_case_ids, depth=2):
"""Build a citation network starting from seed cases."""
G = nx.DiGraph()
visited = set()
queue = [(cid, 0) for cid in seed_case_ids]
while queue:
case_id, level = queue.pop(0)
if case_id in visited or level > depth:
continue
visited.add(case_id)
# Get case metadata and citations
resp = requests.get(f"{BASE_URL}/opinions/{case_id}/",
headers={"Authorization": "Token YOUR_API_TOKEN"})
if resp.status_code != 200:
continue
case = resp.json()
case_name = case.get("case_name", f"Case {case_id}")
G.add_node(case_id, name=case_name, date=case.get("date_filed"))
# Get citing opinions (who cites this case)
for cited_id in case.get("opinions_cited", []):
G.add_edge(case_id, cited_id)
if level < depth:
queue.append((cited_id, level + 1))
return G
# Analyze: which cases are most cited (highest in-degree)?
# These are the most authoritative precedents
Statutory Text Analysis
# Analyzing legislative text complexity
import re
from textstat import textstat
def analyze_statute(text):
"""Compute readability metrics for statutory text."""
return {
"flesch_reading_ease": textstat.flesch_reading_ease(text),
"flesch_kincaid_grade": textstat.flesch_kincaid_grade(text),
"gunning_fog": textstat.gunning_fog(text),
"word_count": textstat.lexicon_count(text),
"sentence_count": textstat.sentence_count(text),
"avg_sentence_length": textstat.avg_sentence_length(text),
"defined_terms": len(re.findall(r'"[A-Z][^"]*"', text)),
"cross_references": len(re.findall(r'[Ss]ection \d+', text))
}
# Example: Analyze a section of the GDPR
gdpr_article_5 = """
Personal data shall be processed lawfully, fairly and in a transparent
manner in relation to the data subject; collected for specified, explicit
and legitimate purposes and not further processed in a manner that is
incompatible with those purposes; adequate, relevant and limited to what
is necessary in relation to the purposes for which they are processed.
"""
print(analyze_statute(gdpr_article_5))
Research Areas in Law
| Area |
Key Topics |
Interdisciplinary Connections |
| AI & Law |
Algorithmic fairness, liability for autonomous systems, AI regulation |
CS, philosophy |
| IP Law |
Patent, copyright, trade secret, open source licensing |
Engineering, business |
| Privacy Law |
GDPR, CCPA, surveillance, data protection |
CS, political science |
| Law & Economics |
Efficiency analysis of legal rules, behavioral law & economics |
Economics |
| Comparative Law |
Cross-jurisdictional analysis, legal transplants |
Political science |
| International Law |
Treaties, humanitarian law, trade law |
International relations |
| Environmental Law |
Climate litigation, ESG regulation, environmental justice |
Environmental science |
| Health Law |
Clinical trial regulation, health data, bioethics |
Medicine, public health |
Practical Research Workflow
- Frame the legal question using IRAC or CREAC structure
- Search secondary sources first (treatises, law reviews) for background
- Identify governing law (federal vs. state, statutory vs. common law)
- Find controlling authority (binding precedent in your jurisdiction)
- Shepardize / KeyCite every case to ensure it is still good law
- Analyze and synthesize cases by extracting rules, holdings, and reasoning
- Consider policy arguments drawing on law and economics, empirical legal studies, or comparative law perspectives
- Update regularly as law changes frequently (set up alerts on Westlaw/Lexis)
Top Academic Venues
| Journal |
Rank |
Focus |
| Harvard Law Review |
T1 |
General |
| Yale Law Journal |
T1 |
General |
| Stanford Law Review |
T1 |
General, tech law |
| Columbia Law Review |
T1 |
General |
| Journal of Legal Studies |
T1 |
Law & economics |
| Journal of Empirical Legal Studies |
T1 |
Empirical methods |
| Computer Law & Security Review |
Field |
Technology law |
| Berkeley Technology Law Journal |
Field |
Tech, IP |
1---2name: legal-research-guide3description: Legal research methods, case law analysis, and compliance tools4license: MIT5---67# Legal Research Guide89Conduct systematic legal research across jurisdictions, analyze case law, navigate statutory frameworks, and use computational legal tools for academic and practice-oriented research.1011## Legal Research Frameworks1213### IRAC Method1415The standard analytical framework for legal reasoning:1617| Step | Description | Example |18|------|-------------|---------|19| **Issue** | Identify the legal question | "Does web scraping of public data constitute a CFAA violation?" |20| **Rule** | State the applicable legal rule | "The CFAA prohibits accessing a computer 'without authorization' or 'exceeding authorized access'" |21| **Application** | Apply the rule to the facts | "In hiQ v. LinkedIn, the 9th Circuit held that scraping publicly available data does not violate the CFAA..." |22| **Conclusion** | State the legal conclusion | "Therefore, scraping publicly available academic data likely does not violate the CFAA, though terms-of-service issues remain." |2324### CREAC Method (For Academic Legal Writing)2526```27C - Conclusion (state your thesis)28R - Rule (present the legal rule with authority)29E - Explanation (analyze how courts have interpreted the rule)30A - Application (apply the rule to your specific scenario)31C - Conclusion (restate and refine conclusion)32```3334## Legal Research Databases3536### Primary Sources3738| Database | Coverage | Cost | Best For |39|----------|----------|------|----------|40| Westlaw (Thomson Reuters) | US, UK, EU, international | Subscription | Comprehensive case law, KeyCite citator |41| LexisNexis | US, UK, international | Subscription | News integration, Shepard's citator |42| Google Scholar (Case Law) | US federal and state courts | Free | Quick case lookup, citation tracking |43| Casetext / CoCounsel | US courts | Subscription | AI-powered legal research |44| CourtListener | US federal courts | Free | PACER alternative, bulk data |45| EUR-Lex | EU law | Free | EU legislation, CJEU case law |46| BAILII | UK, Ireland | Free | UK case law and legislation |47| Justia | US law | Free | US case law, statutes, regulations |48| HeinOnline | Historical legal materials | Subscription | Law journals, treaties, legislative history |4950### Secondary Sources5152| Source | Content | Use |53|--------|---------|-----|54| Law reviews / journals | Scholarly analysis | Academic research, policy arguments |55| Restatements | ALI compilations of common law | Authoritative secondary source |56| Treatises | Comprehensive subject coverage | Deep dive into specific areas |57| Legal encyclopedias (AmJur, CJS) | Broad legal summaries | Starting point for unfamiliar areas |58| Practice guides | Practical how-to | Practitioner-oriented research |5960## Citation Systems6162### Bluebook (US Standard)6364```65# Case citation66Marbury v. Madison, 5 U.S. (1 Cranch) 137 (1803).67Brown v. Board of Education, 347 U.S. 483, 495 (1954).6869# Statute citation7042 U.S.C. Section 1983 (2018).71Cal. Civ. Code Section 1798.100 (West 2020). # California statute7273# Law review article74Jane Smith, The Future of AI Regulation, 120 Harv. L. Rev. 456 (2024).7576# Book77Richard Posner, Economic Analysis of Law 25 (9th ed. 2014).7879# Short form citations (after first full citation)80Brown, 347 U.S. at 495.81Smith, supra note 12, at 460.82Id. at 462. # Same source as immediately preceding citation83```8485### OSCOLA (UK/Oxford Standard)8687```88# Case citation89Donoghue v Stevenson [1932] AC 562 (HL).90R v Brown [1994] 1 AC 212, 237 (HL).9192# Statute citation93Human Rights Act 1998, s 3.94Data Protection Act 2018, s 170(1).9596# Journal article97Jane Smith, 'The Future of AI Regulation' (2024) 120 Modern Law Review 456.9899# Book100Richard Posner, Economic Analysis of Law (9th edn, Aspen 2014) 25.101```102103## Computational Legal Research104105### Case Law Analysis with Python106107```python108import requests109import json110111# Using the CourtListener API (free, open-source)112BASE_URL = "https://www.courtlistener.com/api/rest/v3"113114def search_opinions(query, court="scotus", page_size=20):115 """Search case opinions via CourtListener API."""116 response = requests.get(117 f"{BASE_URL}/search/",118 params={119 "q": query,120 "type": "o", # opinions121 "court": court,122 "page_size": page_size,123 "order_by": "score desc"124 },125 headers={"Authorization": "Token YOUR_API_TOKEN"}126 )127 results = response.json()128 for case in results.get("results", []):129 print(f"[{case.get('dateFiled', 'N/A')}] {case.get('caseName', 'N/A')}")130 print(f" Court: {case.get('court', 'N/A')}")131 print(f" Citation: {case.get('citation', ['N/A'])[0] if case.get('citation') else 'N/A'}")132 print(f" URL: https://www.courtlistener.com{case.get('absolute_url', '')}")133 return results134135# Search for AI-related Supreme Court cases136results = search_opinions("artificial intelligence", court="scotus")137```138139### Citation Network Analysis140141```python142import networkx as nx143144def build_citation_network(seed_case_ids, depth=2):145 """Build a citation network starting from seed cases."""146 G = nx.DiGraph()147 visited = set()148 queue = [(cid, 0) for cid in seed_case_ids]149150 while queue:151 case_id, level = queue.pop(0)152 if case_id in visited or level > depth:153 continue154 visited.add(case_id)155156 # Get case metadata and citations157 resp = requests.get(f"{BASE_URL}/opinions/{case_id}/",158 headers={"Authorization": "Token YOUR_API_TOKEN"})159 if resp.status_code != 200:160 continue161162 case = resp.json()163 case_name = case.get("case_name", f"Case {case_id}")164 G.add_node(case_id, name=case_name, date=case.get("date_filed"))165166 # Get citing opinions (who cites this case)167 for cited_id in case.get("opinions_cited", []):168 G.add_edge(case_id, cited_id)169 if level < depth:170 queue.append((cited_id, level + 1))171172 return G173174# Analyze: which cases are most cited (highest in-degree)?175# These are the most authoritative precedents176```177178### Statutory Text Analysis179180```python181# Analyzing legislative text complexity182import re183from textstat import textstat184185def analyze_statute(text):186 """Compute readability metrics for statutory text."""187 return {188 "flesch_reading_ease": textstat.flesch_reading_ease(text),189 "flesch_kincaid_grade": textstat.flesch_kincaid_grade(text),190 "gunning_fog": textstat.gunning_fog(text),191 "word_count": textstat.lexicon_count(text),192 "sentence_count": textstat.sentence_count(text),193 "avg_sentence_length": textstat.avg_sentence_length(text),194 "defined_terms": len(re.findall(r'"[A-Z][^"]*"', text)),195 "cross_references": len(re.findall(r'[Ss]ection \d+', text))196 }197198# Example: Analyze a section of the GDPR199gdpr_article_5 = """200Personal data shall be processed lawfully, fairly and in a transparent201manner in relation to the data subject; collected for specified, explicit202and legitimate purposes and not further processed in a manner that is203incompatible with those purposes; adequate, relevant and limited to what204is necessary in relation to the purposes for which they are processed.205"""206print(analyze_statute(gdpr_article_5))207```208209## Research Areas in Law210211| Area | Key Topics | Interdisciplinary Connections |212|------|-----------|------------------------------|213| **AI & Law** | Algorithmic fairness, liability for autonomous systems, AI regulation | CS, philosophy |214| **IP Law** | Patent, copyright, trade secret, open source licensing | Engineering, business |215| **Privacy Law** | GDPR, CCPA, surveillance, data protection | CS, political science |216| **Law & Economics** | Efficiency analysis of legal rules, behavioral law & economics | Economics |217| **Comparative Law** | Cross-jurisdictional analysis, legal transplants | Political science |218| **International Law** | Treaties, humanitarian law, trade law | International relations |219| **Environmental Law** | Climate litigation, ESG regulation, environmental justice | Environmental science |220| **Health Law** | Clinical trial regulation, health data, bioethics | Medicine, public health |221222## Practical Research Workflow2232241. **Frame the legal question** using IRAC or CREAC structure2252. **Search secondary sources** first (treatises, law reviews) for background2263. **Identify governing law** (federal vs. state, statutory vs. common law)2274. **Find controlling authority** (binding precedent in your jurisdiction)2285. **Shepardize / KeyCite** every case to ensure it is still good law2296. **Analyze and synthesize** cases by extracting rules, holdings, and reasoning2307. **Consider policy arguments** drawing on law and economics, empirical legal studies, or comparative law perspectives2318. **Update regularly** as law changes frequently (set up alerts on Westlaw/Lexis)232233## Top Academic Venues234235| Journal | Rank | Focus |236|---------|------|-------|237| Harvard Law Review | T1 | General |238| Yale Law Journal | T1 | General |239| Stanford Law Review | T1 | General, tech law |240| Columbia Law Review | T1 | General |241| Journal of Legal Studies | T1 | Law & economics |242| Journal of Empirical Legal Studies | T1 | Empirical methods |243| Computer Law & Security Review | Field | Technology law |244| Berkeley Technology Law Journal | Field | Tech, IP |