home / cp40x

names

6 rows where case_id = 2334424

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4925547 2334424 2334424 plaintiff Petrysfeld John ironmonger 585869 585869 Petrysfeld, John, of London, ironmonger, on his own account 0
4925548 2334424 2334424 defendant Wresell Richard   823025 823025 Wresell, Richard, of Northmapton, Nhants, ironmongerl 0
4925549 2334424 2334424 defendant Smart John smith 780890 780890 Smart, John, of Brastede, Kent, smith 1
4925550 2334424 2334424 defendant Cowpere John smith 592909 592909 Cowpere, John, of Cranbroke, Kent, smith 2
4925551 2334424 2334424 defendant Edward John   596244 596244 Edward, John, of Thaxstede, Essex, blade smith 3
4925552 2334424 2334424 defendant Sherte Stepehn smith 823027 823027 Sherte, Stepehn, of Smalhyth, Kent, 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 11.863ms