home / cp40x

names

5 rows where case_id = 2146582

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4348098 2146582 2146582 plaintiff Malone Simon     Malone, Simon 0
4348099 2146582 2146582 defendant Clarke Edward stationer 587594 587594 Clarke, Edward, of Manchester, Lancs, stationer 0
4348100 2146582 2146582 defendant Clarke Brian stationer 609708 609708 Clarke, Brian, of Manchester, stationer 1
4348101 2146582 2146582 defendant Lestwitch Roger   609708 609708 Lestwitch, Roger, of Manchester, soap maker 2
4348102 2146582 2146582 defendant Gye Thomas smith 609708 609708 Gye, Thomas, of Manchester, smith 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 13.919ms