home / cp40x

names

7 rows where case_id = 2003300

✎ 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
3938747 2003300 2003300 plaintiff Rede Richard gent   Rede, Richard, gent 0
3938748 2003300 2003300 defendant Dooune Thomas gent 656079 656079 Dooune, Thomas, of Thorton, gent 0
3938749 2003300 2003300 defendant Dighton Robert gent 656080 656080 Dighton, Robert, of Kettylby, gent 1
3938750 2003300 2003300 defendant Gooding Robert husbandman 587259 587259 Gooding, Robert, of Thornton, husbandman 2
3938751 2003300 2003300 defendant Tomson Robert husbandman 587259 587259 Tomson, Robert, of Thornton, husbandman 3
3938752 2003300 2003300 defendant Medley John husbandman 656079 656079 Medley, John, of Thorton, husbandman 4
3938753 2003300 2003300 defendant Reynold Richard husbandman & another 656081 656081 Reynold, Richard, of Ulsby, husbandman & another 5

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.711ms