home / cp40x

names

6 rows where case_id = 1987443

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3891562 1987443 1987443 plaintiff Leighton Alice widow   Leighton, Alice, widow, executrix of Leighton, Thomas, executors of 0
3891563 1987443 1987443 plaintiff Richardson John     (Richardson, John 1
3891564 1987443 1987443 defendant Sawnders Robert merchant 617009 617009 Sawnders, Robert, of Yarmouth, Norf, merchant 0
3891565 1987443 1987443 defendant Shawe William merchant 588456 588456 Shawe, William, of Yarmouth, merchant 1
3891566 1987443 1987443 defendant Michelson Andrew     Michelson, Andrew 2
3891567 1987443 1987443 defendant (not given)   mariner 588954 588954 of Clay juxta Mare, Norf, mariner 3

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