home / cp40x

names

8 rows where case_id = 2215492

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4548564 2215492 2215492 plaintiff Clement John (legal representative) 766173 766173 Clement, John, of Leighton Buzzard, executors of 0
4548565 2215492 2215492 plaintiff Smyth John     (Smyth, John 1
4548566 2215492 2215492 plaintiff Mason John     Mason, John 2
4548567 2215492 2215492 plaintiff Foxton Thomas     Foxton, Thomas 3
4548568 2215492 2215492 plaintiff Foxton Joan     Joan, his wife 4
4548569 2215492 2215492 defendant Bury William esq   Bury, William, esq 0
4548570 2215492 2215492 defendant Clerk Richard   643916 643916 Clerk, Richard, of Ivyngho 1
4548571 2215492 2215492 defendant Colles William   766857 766857 Colles, William, of Tring 2

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 12.62ms