home / cp40x

names

8 rows where case_id = 2424614

✎ 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
5230786 2424614 2424614 plaintiff Beaumont Thomas     Beaumont, Thomas 0
5230787 2424614 2424614 defendant Okes William tailor 586887 586887 Okes, William, of Wakefeld, tailor 0
5230788 2424614 2424614 defendant Grene Edmund weaver 586887 586887 Grene, Edmund, of Wakefeld, weaver 1
5230789 2424614 2424614 defendant Clay Robert yeoman 675595 675595 Clay, Robert, of Norland, yeoman 2
5230790 2424614 2424614 defendant Chaloner John husbandman 861997 861997 Chaloner, John, of Avelay, husbandman 3
5230791 2424614 2424614 defendant Wynter John clerk 594727 594727 Wynter, John, of Acworth, clerk 4
5230792 2424614 2424614 defendant Sansmwer William yeoman 586887 586887 Sansmwer, William, of Wakefeld, yeoman 5
5230793 2424614 2424614 defendant Janyn John laborer 602513 602513 Janyn, John, of Thornhill, laborer 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.513ms