home / cp40x

names

6 rows where case_id = 1936814

✎ 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
3733765 1936814 1936814 plaintiff Fermor Henry gent, of Est Barssham   Fermor, Henry, gent, of Est Barssham 0
3733766 1936814 1936814 defendant Clyfton John yeoman 616034 616034 Clyfton, John, of Toftys, yeoman 0
3733767 1936814 1936814 defendant Clyfton Thomas yeoman 616034 616034 Clyfton, Thomas, of Toftys, yeoman 1
3733768 1936814 1936814 defendant Hawker Robert butcher 587167 587167 Hawker, Robert, of Parva Walsyngham, butcher 2
3733769 1936814 1936814 defendant Michell William husbandman 594580 594580 Michell, William, of Swafham Market, husbandman 3
3733770 1936814 1936814 defendant Wadnew John husbandman 589532 589532 Wadnew, John, of Fakenham, 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.666ms