home / cp40x

names

7 rows where case_id = 2287293

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4772254 2287293 2287293 plaintiff Sparwe John chaplain   Sparwe, John, chaplain, executor of 0
4772255 2287293 2287293 plaintiff Godard Andrew chaplain   Godard, Andrew, chaplain 1
4772256 2287293 2287293 defendant Est John husbandman 797528 797528 Est, John, of North Wold, husbandman 0
4772257 2287293 2287293 defendant Hert William   614010 614010 Hert, William, of Bilney, bailiff 1
4772258 2287293 2287293 defendant Legge John (legal representative)   Legge, John, executors of 2
4772259 2287293 2287293 defendant Benet John yeoman 614723 614723 (Benet, John, of Holgey, yeoman 3
4772260 2287293 2287293 defendant Lovell William yeoman 602392 602392 Lovell, William, of Helgey, yeoman 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 15.189ms