home / cp40x

names

9 rows where case_id = 2020672

✎ 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
3988614 2020672 2020672 plaintiff Arnold Richard gent, attorney of the bench   Arnold, Richard, gent, attorney of the bench 0
3988615 2020672 2020672 defendant Bacon Edward yeoman 668319 668319 Bacon, Edward, of Brighlynsey, Essex, yeoman 0
3988616 2020672 2020672 defendant Brooke John yeoman 598624 598624 Brooke, John, of Bramford, yeoman 1
3988617 2020672 2020672 defendant Pett Robert tanner 587636 587636 Pett, Robert, of Hadleigh, tanner 2
3988618 2020672 2020672 defendant Porter John yeoman 668320 668320 Porter, John, of Brycett, yeoman 3
3988619 2020672 2020672 defendant Martyn John husbandman 592109 592109 Martyn, John, of Kersey, husbandman 4
3988620 2020672 2020672 defendant Cooke John husbandman 592109 592109 Cooke, John, of Kersey, husbandman 5
3988621 2020672 2020672 defendant Butter John yeoman 668321 668321 Butter, John, of Bukelsham, yeoman 6
3988622 2020672 2020672 defendant Lambe Richard sherman 590661 590661 Lambe, Richard, of Hadleygh, sherman 7

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