home / cp40x

names

8 rows where case_id = 2394873

✎ 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
5128680 2394873 2394873 plaintiff Conyer John     Conyer, John 0
5128681 2394873 2394873 defendant Steven Robert laborer 674495 674495 Steven, Robert, of Styfford, Essex, laborer 0
5128682 2394873 2394873 defendant Lorkyn William laborer 774042 774042 Lorkyn, William, of Orsete, Essex, laborer 1
5128683 2394873 2394873 defendant Mokke William laborer 693424 693424 Mokke, William, of Upminster, Essex, laborer 2
5128684 2394873 2394873 defendant Bescombe Robert laborer 849957 849957 Bescombe, Robert, of Lytyl Storrok, Essex, laborer 3
5128685 2394873 2394873 defendant Payntour Thomas laborer 591645 591645 Payntour, Thomas, of Chaldewell, Essex, laborer 4
5128686 2394873 2394873 defendant Hobbe Lawrence laborer 594207 594207 Hobbe, Lawrence, of Chaldewell, laborer 5
5128687 2394873 2394873 defendant Neweman John laborer 849958 849958 Neweman, John, of Cravenam, Essex, laborer 6

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