home / cp40x

names

8 rows where case_id = 2238040

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4622575 2238040 2238040 plaintiff Lyndelay Lawrence de     Lyndelay, Lawrence de 0
4622576 2238040 2238040 defendant Lynton John de   646648 646648 Lynton, John de, of Clyfford 0
4622577 2238040 2238040 defendant Bateman John   646648 646648 Bateman, John, of Clyfford 1
4622578 2238040 2238040 defendant Walker Roger   753627 753627 Walker, Roger, of Castelford 2
4622579 2238040 2238040 defendant Kereby John   775405 775405 Kereby, John, of Whethyrby 3
4622580 2238040 2238040 defendant Lyndelay John de   775406 775406 Lyndelay, John de, of Snawdon 4
4622581 2238040 2238040 defendant Gudewyn Thomas   586422 586422 Gudewyn, Thomas, of Lynton 5
4622582 2238040 2238040 defendant Ellesworth Richard de   775315 775315 Ellesworth, Richard de, of the forest of Knaresburgh 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 13.531ms