home / cp40x

names

6 rows where case_id = 1916575

✎ 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
3670039 1916575 1916575 plaintiff Bowyer Thomas     Bowyer, Thomas 0
3670040 1916575 1916575 defendant Lovell John husbandman 607604 607604 Lovell, John, of Beryngton, husbandman 0
3670041 1916575 1916575 defendant Symmys William husbandman 607605 607605 Symmys, William, of Alwoke, husbandman 1
3670042 1916575 1916575 defendant Feyer John husbandman 607606 607606 Feyer, John, of Gote, Hubley, husbandman 2
3670043 1916575 1916575 defendant Mores John husbandman 607607 607607 Mores, John, of Cumpton Marten, husbandman 3
3670044 1916575 1916575 defendant Gawdyes John husbandman 607608 607608 Gawdyes, John, of Backewell, 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 14.459ms