<jupyter_start><jupyter_text>The **case_info** function returns a link to the opinion text on CourtListener given the **opinion id** (NOT the cluster id).<jupyter_code># change this to your repo directory
repo_directory = '/Users/iaincarmichael/Dropbox/Research/law/law-net/'
import sys
sys.path.append(repo_directory + 'code/')

from helpful_functions import case_info
case_info(107423)<jupyter_output>Anders v. California
date_filed: 1967-05-08
https://www.courtlistener.com/opinion/107423/anders-v-california/
{'fraction_non_alphanumeric': 0.109375, 'fraction_numerical': 0.0390625, 'mean_word_length': 6.328571428571428, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '150104', 'license': 'MIT', 'n_tokens_mistral': 187, 'n_tokens_neox': 167, 'n_words': 42, 'path': 'case_lookup.ipynb', 'repo_name': 'wethepeopleonline/law-net', 'size': '512'}