home / cp40x

names

6 rows where case_id = 2183372

✎ 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
4444874 2183372 2183372 plaintiff Cookes John   586435 586435 Cookes, John, of Leicester 0
4444875 2183372 2183372 defendant Parker John   710418 710418 Parker, John, of Ayleston, parson 0
4444876 2183372 2183372 defendant Carpenter Adam   757314 757314 Carpenter, Adam, of Brundeston 1
4444877 2183372 2183372 defendant Reynold John   757315 757315 Reynold, John, of Lubbesthorp 2
4444878 2183372 2183372 defendant Taillour John   587448 587448 Taillour, John, of Brandeston 3
4444879 2183372 2183372 defendant Barker John     Barker, John 4

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