home / cp40x

names

8 rows where case_id = 1961295

✎ 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
3810846 1961295 1961295 plaintiff Burton Henry     Burton, Henry 0
3810847 1961295 1961295 plaintiff Burton Edward     Burton, Edward 1
3810848 1961295 1961295 plaintiff Wattys John     Wattys, John 2
3810849 1961295 1961295 defendant Saker John husbandman 633119 633119 Saker, John, of Brokham, husbandman 0
3810850 1961295 1961295 defendant Pollesden of Brokham husbandman   Pollesden, of Brokham, husbandman 1
3810851 1961295 1961295 defendant Catte Robert husbandman 633119 633119 Catte, Robert, of Brokham, husbandman 2
3810852 1961295 1961295 defendant Weste Roger husbandman 633119 633119 Weste, Roger, of Brokham, husbandman 3
3810853 1961295 1961295 defendant Harman Henry husbandman 633119 633119 Harman, Henry, of Brokham, 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 8.059ms