home / cp40x

names

8 rows where case_id = 2304627

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4827426 2304627 2304627 plaintiff Wylughby John knight   Wylughby, John, knight 0
4827427 2304627 2304627 defendant Gannill Simon husbandman 770325 770325 Gannill, Simon, of Qwaplode, husbandman 0
4827428 2304627 2304627 defendant Prowet John husbandman 770325 770325 Prowet, John, of Qwaplode, husbandman 1
4827429 2304627 2304627 defendant Peresson Walter yeoman 770325 770325 Peresson, Walter, of Qwaplode, yeoman 2
4827430 2304627 2304627 defendant Skarlet John husbandman 770325 770325 Skarlet, John, of Qwaplode, husbandman 3
4827431 2304627 2304627 defendant Frenche John laborer 739739 739739 Frenche, John, of Kirketon, laborer 4
4827432 2304627 2304627 defendant Broun Richard husbandman 756733 756733 Broun, Richard, of Kirketon in Holand, husbandman 5
4827433 2304627 2304627 defendant Stable John de laborer 756733 756733 Stable, John de, of Kirketon in Holand, laborer 6

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