home / cp40x

names

6 rows where case_id = 1998867

✎ 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
3925575 1998867 1998867 plaintiff Wood Edmund alderman 585936 585936 Wood, Edmund, of Norwich, alderman 0
3925576 1998867 1998867 defendant Welpesdale Robert smith 589042 589042 Welpesdale, Robert, of Heydon, smith 0
3925577 1998867 1998867 defendant Herne William smith 589689 589689 Herne, William, of Hornyng, smith 1
3925578 1998867 1998867 defendant Brytyff John   590539 590539 Brytyff, John, of Hethersett, brick maker 2
3925579 1998867 1998867 defendant Rowland Christopher   589689 589689 Rowland, Christopher, of Hornyng, brick maker 3
3925580 1998867 1998867 defendant Umfrey William smith 591576 591576 Umfrey, William, of Smalburgh, smith 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 17.46ms