home / cp40x

names

7 rows where case_id = 2555398

✎ 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
5636620 2555398 2555398 plaintiff Wylot John     Wylot, John 0
5636621 2555398 2555398 defendant Swayn Henry butcher 809738 809738 Swayn, Henry, of Tetilsale, butcher 0
5636622 2555398 2555398 defendant Sevenpens Simon butcher 589531 589531 Sevenpens, Simon, of Eggefeld, butcher 1
5636623 2555398 2555398 defendant Monke Thomas butcher 641209 641209 Monke, Thomas, of Bychamwell, butcher 2
5636624 2555398 2555398 defendant Lyster William butcher 814468 814468 Lyster, William, of Qwaplode, Lincs, husbandman de Hale, Adam, of Magna Walsyngham, butcher 3
5636625 2555398 2555398 defendant Balston Henry butcher 586938 586938 Balston, Henry, of Thornham, butcher 4
5636626 2555398 2555398 defendant Thorkeld John   908215 908215 Thorkeld, John, of Withysley, Cams, neat driver 5

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 15.416ms