home / cp40x

names

6 rows where case_id = 2320624

✎ 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
4879884 2320624 2320624 plaintiff Waldern Nicholas     Waldern, Nicholas 0
4879885 2320624 2320624 defendant Selewyn Richard gent 587374 587374 Selewyn, Richard, of Lewes, gent 0
4879886 2320624 2320624 defendant Saverey Nicholas husbandman 629515 629515 Saverey, Nicholas, of Southovere, husbandman 1
4879887 2320624 2320624 defendant Saverey Robert husbandman 611365 611365 Saverey, Robert, of Est Firle, husbandman 2
4879888 2320624 2320624 defendant Mason John tailor 596513 596513 Mason, John, of Ukkefeld, tailor 3
4879889 2320624 2320624 defendant Moreys John laborer 587374 587374 Moreys, John, of Lewes, laborer 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 12.933ms