home / cp40x

names

6 rows where case_id = 2313921

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4858156 2313921 2313921 plaintiff Brethenham John     Brethenham, John 0
4858157 2313921 2313921 defendant Pye Richard pedder 586365 586365 Pye, Richard, of Wymondham, pedder 0
4858158 2313921 2313921 defendant Roger Thomas husbandman 595280 595280 Roger, Thomas, of Ocle, husbandman 1
4858159 2313921 2313921 defendant Reed Simon (legal representative)   Reed, Simon, executors of 2
4858160 2313921 2313921 defendant Sheryngham Geoffrey shipman 803591 803591 (Sheryngham, Geoffrey, of Sherynghamhithe, shipman 3
4858161 2313921 2313921 defendant Pykto Roger husbandman 590798 590798 Pykto, Roger, of Gresham, husbandman 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 14.87ms