home / cp40x

names

10 rows where case_id = 2186999

✎ 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
4456315 2186999 2186999 plaintiff Norborne John     Norborne, John 0
4456316 2186999 2186999 defendant atte Salop Robert     atte Salop, Robert 0
4456317 2186999 2186999 defendant Suansys Stephen     Suansys, Stephen 1
4456318 2186999 2186999 defendant Bocher Robert     Bocher, Robert 2
4456319 2186999 2186999 defendant Broun William     Broun, William 3
4456320 2186999 2186999 defendant Box John     Box, John 4
4456321 2186999 2186999 defendant byngham John     byngham, John 5
4456322 2186999 2186999 defendant Bateman John     Bateman, John 6
4456323 2186999 2186999 defendant conyrs John   758741 758741 conyrs, John, of Hoygham 7
4456324 2186999 2186999 defendant Diston Alice   588357 588357 Diston, Alice, of Heygham 8

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