home / cp40x

names

6 rows where case_id = 2411593

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5185798 2411593 2411593 plaintiff Gay Thomas, sen     Gay, Thomas, sen 0
5185799 2411593 2411593 defendant Payn Hugh clerk 585869 585869 Payn, Hugh, of London, clerk 0
5185800 2411593 2411593 defendant Stoford John gent 857207 857207 Stoford, John, of Dowlton, Devon, gent 1
5185801 2411593 2411593 defendant Almescombe John gent 857208 857208 Almescombe, John, of Bederford, Devon, gent 2
5185802 2411593 2411593 defendant Eton Thomas gent 585869 585869 Eton, Thomas, of London, gent 3
5185803 2411593 2411593 defendant Persyvale Thomas gent 586865 586865 Persyvale, Thomas, of Glastonbury, Soms, gent 4

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 15.467ms