home / cp40x

names

8 rows where case_id = 2195461

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4483247 2195461 2195461 plaintiff Newman John (legal representative)   Newman, John, executrix of 0
4483248 2195461 2195461 plaintiff Newman Alice     Newman, Alice 1
4483249 2195461 2195461 defendant Sherston Thomas   761699 761699 Sherston, Thomas, of Lotesham 0
4483250 2195461 2195461 defendant Bakere William   754947 754947 Bakere, William, of Yevele 1
4483251 2195461 2195461 defendant Clerk William   688547 688547 Clerk, William, of Midsomer Norton 2
4483252 2195461 2195461 defendant Touker John   688547 688547 Touker, John, of Midsomer Norton 3
4483253 2195461 2195461 defendant Monk Robert   594300 594300 Monk, Robert, of Frome 4
4483254 2195461 2195461 defendant Jaye John     Jaye, John 5

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