home / cp40x

names

7 rows where case_id = 2394340

✎ 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
5126884 2394340 2394340 plaintiff Bromewyche Thomas, senior     Bromewyche, Thomas, senior 0
5126885 2394340 2394340 plaintiff Kene John     Kene, John 1
5126886 2394340 2394340 defendant Grenewey William yeoman 849654 849654 Grenewey, William, of kynton, in Welsh Marches, yeoman 0
5126887 2394340 2394340 defendant Parker John yeoman 596906 596906 Parker, John, of Newton, yeoman 1
5126888 2394340 2394340 defendant Rowlyns William husbandman 592264 592264 Rowlyns, William, of Leonhales, husbandman 2
5126889 2394340 2394340 defendant Dee Refus husbandman 596906 596906 Dee, Refus, of Newton, husbandman 3
5126890 2394340 2394340 defendant Melyn Thomas husbandman 607901 607901 Melyn, Thomas, of Home, 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.893ms