home / cp40x

names

7 rows where case_id = 2343717

✎ 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
4955849 2343717 2343717 plaintiff Tirwhyt William   589790 589790 Tirwhyt, William, of Lincs, knight 0
4955850 2343717 2343717 defendant Thurn Philip husbandman 586070 586070 Thurn, Philip, of Beverley, husbandman 0
4955851 2343717 2343717 defendant Michell Stephen walker 586070 586070 Michell, Stephen, of Beverley, walker 1
4955852 2343717 2343717 defendant Warner William yeoman 586070 586070 Warner, William, of Beverley, yeoman 2
4955853 2343717 2343717 defendant Robynson Thomas husbandman 589274 589274 Robynson, Thomas, of Cotyngham, husbandman 3
4955854 2343717 2343717 defendant Catwyk John   586070 586070 Catwyk, John, of Beverley, harp maker 4
4955855 2343717 2343717 defendant Burgeys John weaver 586070 586070 Burgeys, John, of Beverley, weaver 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 14.939ms