home / cp40x

names

7 rows where case_id = 2517076

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5540234 2517076 2517076 plaintiff Haw Walter     Haw, Walter 0
5540235 2517076 2517076 plaintiff Haw Isabel     Isabel his wife, formerly Burgh, Isabel 1
5540236 2517076 2517076 defendant Amys Edward husbandman 897923 897923 Amys, Edward, of Berton Torff, husbandman 0
5540237 2517076 2517076 defendant Denewe John husbandman 603944 603944 Denewe, John, of Dilham, husbandman 1
5540238 2517076 2517076 defendant Laurence Thomas butcher 593573 593573 Laurence, Thomas, of Smalbergh, butcher 2
5540239 2517076 2517076 defendant Lynsted Thomas, senior butcher 763939 763939 Lynsted, Thomas, senior, of Edythorp, butcher 3
5540240 2517076 2517076 defendant Lynsted Nicholas butcher 763939 763939 Lynsted, Nicholas, of Edythorp, butcher 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 23.393ms