<jupyter_start><jupyter_text>sqlite databases for retrieval and keying to related table --><jupyter_code>import sqlite3
try:
    conn = sqlite3.connect('ccacregdb')
    cursor = conn.cursor()
    print("Connect")
    regtable_sql='''
                    CREATE TABLE IF NOT EXISTS
                        appts(
                            apptid INTEGER PRIMARY KEY,
                            stud INTEGER,
                            service TEXT,
                            apptdate
                        )
                
                '''
    
except sqlite3.Error as error:
    print('Error')
    print(error)
#Always colse all of our resources
    finally:
    if cursor:
        cursor.close()
    if conn:
        conn.close()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.07503234152652005, 'fraction_numerical': 0.0038809831824062097, 'mean_word_length': 1.3243243243243243, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '574658', 'license': 'Apache-2.0', 'n_tokens_mistral': 216, 'n_tokens_neox': 197, 'n_words': 52, 'path': 'sqlite3.ipynb', 'repo_name': 'cr62-b/dat129_ccac', 'size': '773'}