home / cp40x

names

7 rows where case_id = 1934154

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3725138 1934154 1934154 plaintiff Skrymsher Thomas     Skrymsher, Thomas 0
3725139 1934154 1934154 defendant Bennett John yeoman 613131 613131 Bennett, John, of Newport, Salop, yeoman 0
3725140 1934154 1934154 defendant Turnour Thomas butcher 586929 586929 Turnour, Thomas, of Neweport, butcher 1
3725141 1934154 1934154 defendant Gryme Thomas husbandman 618528 618528 Gryme, Thomas, of Swynnerton, husbandman 2
3725142 1934154 1934154 defendant Bromley John husbandman 588961 588961 Bromley, John, of Yernefeld, husbandman 3
3725143 1934154 1934154 defendant Turnour William husbandman 618529 618529 Turnour, William, of Apeton, husbandman 4
3725144 1934154 1934154 defendant Alkyn John yeoman 591118 591118 Alkyn, John, of Longdon, yeoman 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 15.804ms