home / cp40x

names

8 rows where case_id = 2322144

✎ 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
4884789 2322144 2322144 plaintiff Godefrey John, senior (legal representative) 757209 757209 Godefrey, John, senior, of Alre, executors of 0
4884790 2322144 2322144 plaintiff Neweton William     (Neweton, William 1
4884791 2322144 2322144 plaintiff Sowy John clerk   Sowy, John, clerk 2
4884792 2322144 2322144 plaintiff Gyfford Stephen     Gyfford, Stephen 3
4884793 2322144 2322144 defendant Pille John drover 585974 585974 Pille, John, of Shaftesbury, Dorset, drover 0
4884794 2322144 2322144 defendant Smyth John smith 817193 817193 Smyth, John, of Axibrigge, smith 1
4884795 2322144 2322144 defendant Parker Thomas butcher 586111 586111 Parker, Thomas, of Lamport Estover, butcher 2
4884796 2322144 2322144 defendant Wyseman Geoffrey chapman 586373 586373 Wyseman, Geoffrey, of Yevell, chapman 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 14.409ms