home / cp40x

names

6 rows where case_id = 2453186

✎ 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
5327111 2453186 2453186 plaintiff Thurston John   720099 720099 Thurston, John, of Tydd St Giles 0
5327112 2453186 2453186 defendant Thaker Robert husbandman 873770 873770 Thaker, Robert, of Narborough, Nhants, husbandman 0
5327113 2453186 2453186 defendant Smyth William husbandman 648288 648288 Smyth, William, of Narborough, husbandman 1
5327114 2453186 2453186 defendant Byrd Robert husbandman 833164 833164 Byrd, Robert, of Peykyrk, Nhants, husbandman 2
5327115 2453186 2453186 defendant Fyssher Richard husbandman 643256 643256 Fyssher, Richard, of Whaplode, Lincs, husbandman 3
5327116 2453186 2453186 defendant Bekeswell John husbandman 643712 643712 Bekeswell, John, of Thorney, Cams, 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 12.982ms