home / cp40x

names

7 rows where case_id = 2531790

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5589750 2531790 2531790 plaintiff Rydnale Thomas     Rydnale, Thomas 0
5589751 2531790 2531790 defendant Shethe Thomas vintner 586180 586180 Shethe, Thomas, of Bury St Edmunds, vintner 0
5589752 2531790 2531790 defendant Spark John smith 624631 624631 Spark, John, of Hansted, smith 1
5589753 2531790 2531790 defendant Sewade John smith 590901 590901 Sewade, John, of Thetford, Norf, smith 2
5589754 2531790 2531790 defendant Hunt John smith 596426 596426 Hunt, John, of Glemsford, smith 3
5589755 2531790 2531790 defendant Reyston Thomas tailor 586953 586953 Reyston, Thomas, of Sudbury, tailor 4
5589756 2531790 2531790 defendant Bokynham Thomas husbandman 586992 586992 Bokynham, Thomas, of Ingham, husbandman 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 8.421ms