home / cp40x

names

6 rows where case_id = 1910781

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3651327 1910781 1910781 plaintiff Stevyns William     Stevyns, William 0
3651328 1910781 1910781 defendant Trysse Nicholas smith 597089 597089 Trysse, Nicholas, of Uxbrige, Middx, smith 0
3651329 1910781 1910781 defendant Aldworth John fisher 602702 602702 Aldworth, John, of Misserden, Bucks, fisher 1
3651330 1910781 1910781 defendant Fyste Thomas laborer 602703 602703 Fyste, Thomas, of Walton, Surrey, laborer 2
3651331 1910781 1910781 defendant Saunder Richard chapman 587775 587775 Saunder, Richard, of Redyng, Berks, chapman 3
3651332 1910781 1910781 defendant Buk William collier 589717 589717 Buk, William, of Rislip, Middx, collier 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 13.585ms