home / cp40x

names

9 rows where case_id = 2451184

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5320390 2451184 2451184 plaintiff Jenney John esq   Jenney, John, esq 0
5320391 2451184 2451184 defendant Drake Thomas yeoman 587913 587913 Drake, Thomas, of Pulham, yeoman 0
5320392 2451184 2451184 defendant Hanworth John yeoman 587913 587913 Hanworth, John, of Pulham, yeoman 1
5320393 2451184 2451184 defendant Cartwryght Nicholas husbandman 587913 587913 Cartwryght, Nicholas, of Pulham, husbandman 2
5320394 2451184 2451184 defendant Hert Thomas yeoman 586440 586440 Hert, Thomas, of Cowteshale, yeoman 3
5320395 2451184 2451184 defendant Colson John barker 600775 600775 Colson, John, of Hygham juxta Norwich, barker 4
5320396 2451184 2451184 defendant Thystyll Roger husbandman 590227 590227 Thystyll, Roger, of Shelton, husbandman 5
5320397 2451184 2451184 defendant Puttok Edmund (legal representative) 585998 585998 Puttok, Edmund, of Keteryngham, shepherd, executor of 6
5320398 2451184 2451184 defendant Puttok John husbandman 585998 585998 Puttok, John, of Keteryngham, husbandman 7

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