home / cp40x

names

7 rows where case_id = 1989401

✎ 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
3897574 1989401 1989401 plaintiff Wolsy Robert   585934 585934 Wolsy, Robert, of Becclys, administrators of 0
3897575 1989401 1989401 plaintiff Sherman Gilbert   585934 585934 Sherman, Gilbert, of Becclys 1
3897576 1989401 1989401 defendant Age Thomas husbandman or butcher 601600 601600 Age, Thomas, of Borough St Margaret, husbandman or butcher 0
3897577 1989401 1989401 defendant Colman Richard husbandman 592927 592927 Colman, Richard, of Brome, husbandman 1
3897578 1989401 1989401 defendant Tomlynson Christopher glover 585933 585933 Tomlynson, Christopher, of Great Yarmouth, glover 2
3897579 1989401 1989401 defendant Hogason John yeoman 596907 596907 Hogason, John, of Ludham, yeoman 3
3897580 1989401 1989401 defendant Franke Richard husbandman 647683 647683 Franke, Richard, of Haddesco, 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 14.293ms