home / cp40x

names

7 rows where case_id = 1941479

✎ 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
3748547 1941479 1941479 plaintiff Growte Richard draper 589532 589532 Growte, Richard, of Fakenham, draper 0
3748548 1941479 1941479 defendant Heylott Thomas husbandman 587553 587553 Heylott, Thomas, of Toftrys, husbandman 0
3748549 1941479 1941479 defendant Smyth William carpenter 591189 591189 Smyth, William, of Dunton, carpenter 1
3748550 1941479 1941479 defendant Sart Thomas chaplain 588220 588220 Sart, Thomas, of Wesenham, chaplain 2
3748551 1941479 1941479 defendant Mason James chaplain 592655 592655 Mason, James, of Wodnorton, chaplain 3
3748552 1941479 1941479 defendant Skynner John (legal representative)   Skynner, John, executors of 4
3748553 1941479 1941479 defendant Cowper James husbandman 599449 599449 (Cowper, James, of Est Barsham, husbandman 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 18.145ms