home / cp40x

names

6 rows where case_id = 2395943

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5132295 2395943 2395943 plaintiff Harowe John     Harowe, John 0
5132296 2395943 2395943 defendant Brygges Richard butcher 586487 586487 Brygges, Richard, of Suthwerk, butcher 0
5132297 2395943 2395943 defendant Scotte Thomas butcher 586487 586487 Scotte, Thomas, of Suthwerk, butcher 1
5132298 2395943 2395943 defendant Sele William husbandman 598047 598047 Sele, William, of Farneham, husbandman 2
5132299 2395943 2395943 defendant Stone John butcher 586487 586487 Stone, John, of Suthwerk, butcher 3
5132300 2395943 2395943 defendant Bradffold John butcher 586487 586487 Bradffold, John, of Suthwerk, 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 14.156ms