home / cp40x

names

8 rows where case_id = 2390388

✎ 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
5113659 2390388 2390388 plaintiff Langton Thomas     Langton, Thomas 0
5113660 2390388 2390388 defendant Martyn Robert laborer 847934 847934 Martyn, Robert, of Chestylford, laborer 0
5113661 2390388 2390388 defendant Kyrre John yeoman 586134 586134 Kyrre, John, of Ipswich, yeoman 1
5113662 2390388 2390388 defendant Deynys John cutler 596671 596671 Deynys, John, of Wykham Market, cutler 2
5113663 2390388 2390388 defendant Hervy Robert laborer 733178 733178 Hervy, Robert, of Iken, laborer 3
5113664 2390388 2390388 defendant Sprout Robert husbandman 772721 772721 Sprout, Robert, of Benehale, husbandman 4
5113665 2390388 2390388 defendant Grave Thomas husbandman 847935 847935 Grave, Thomas, of Capell juxta Butlee, husbandman 5
5113666 2390388 2390388 defendant Seman John husbandman 847935 847935 Seman, John, of Capell juxta Butlee, husbandman 6

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 18.739ms