home / cp40x

names

6 rows where case_id = 2474976

✎ 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
5399624 2474976 2474976 plaintiff Elryngton John knight   Elryngton, John, knight, administrator of 0
5399625 2474976 2474976 plaintiff Elryngton Margaret widow & relict   Elryngton, Margaret, widow & relict 1
5399626 2474976 2474976 defendant Hamond William brewer 586060 586060 Hamond, William, of Enfeld, brewer 0
5399627 2474976 2474976 defendant Savage John, junior yeoman 883276 883276 Savage, John, junior, of Haryngay, yeoman 1
5399628 2474976 2474976 defendant Carley John yeoman 632108 632108 Carley, John, of Wyllesdon, yeoman 2
5399629 2474976 2474976 defendant Wakerell Thomas husbandman 632108 632108 Wakerell, Thomas, of Wyllesdon, husbandman 3

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