home / cp40x

names

6 rows where case_id = 1908108

✎ 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
3642535 1908108 1908108 plaintiff Cawse Gregory mercer 585936 585936 Cawse, Gregory, of Norwich, mercer 0
3642536 1908108 1908108 defendant Elys John mercer 587167 587167 Elys, John, of Parva Walsyngham, mercer 0
3642537 1908108 1908108 defendant Came Mathew yeaman 588220 588220 Came, Mathew, of Wesenham, yeaman 1
3642538 1908108 1908108 defendant Brune Robert yeoman 585936 585936 Brune, Robert, of Norwich, yeoman 2
3642539 1908108 1908108 defendant Bateson John clerk 600785 600785 Bateson, John, of Pyrleston Belyngford, clerk 3
3642540 1908108 1908108 defendant Herne William husbandman 600785 600785 Herne, William, of Pyrleston Belyngford, husbandman 4

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