home / cp40x

names

6 rows where case_id = 2455398

✎ 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
5334520 2455398 2455398 plaintiff Fermour Thomas     Fermour, Thomas 0
5334521 2455398 2455398 defendant Toty John husbandman 874625 874625 Toty, John, of Melton, Berks, husbandman 0
5334522 2455398 2455398 defendant Smert William husbandman 715984 715984 Smert, William, of Blubery, Berks, husbandman 1
5334523 2455398 2455398 defendant Canewell William smith 592035 592035 Canewell, William, of Eynesham, smith 2
5334524 2455398 2455398 defendant Pert Thomas smith 592035 592035 Pert, Thomas, of Eynesham, smith 3
5334525 2455398 2455398 defendant Peke Thomas husbandman 816107 816107 Peke, Thomas, of Hanburgh, husbandman 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 12.311ms