home / cp40x

names

10 rows where case_id = 2390412

✎ 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
5113734 2390412 2390412 plaintiff le Scrope Thomas     le Scrope, Thomas 0
5113735 2390412 2390412 defendant Butterworth Roger yeoman 588880 588880 Butterworth, Roger, of Thrysk, yeoman 0
5113736 2390412 2390412 defendant Mariot John mercer 588880 588880 Mariot, John, of Thrysk, mercer 1
5113737 2390412 2390412 defendant Saunderson Robert barker 588880 588880 Saunderson, Robert, of Thrysk, barker 2
5113738 2390412 2390412 defendant Colson Robert berker 588880 588880 Colson, Robert, of Thrysk, berker 3
5113739 2390412 2390412 defendant Smyth John laborer 588880 588880 Smyth, John, of Thrysk, laborer 4
5113740 2390412 2390412 defendant Wode John weaver 588880 588880 Wode, John, of Thrysk, weaver 5
5113741 2390412 2390412 defendant Adamson Robert tailor 588880 588880 Adamson, Robert, of Thrysk, tailor 6
5113742 2390412 2390412 defendant Dey William weaver 588880 588880 Dey, William, of Thrysk, weaver 7
5113743 2390412 2390412 defendant Bayly Richard tailor 588880 588880 Bayly, Richard, of Thrysk, tailor 8

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