home / cp40x

names

7 rows where case_id = 2506376

✎ 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
5504658 2506376 2506376 plaintiff Ball Roger     Ball, Roger 0
5504659 2506376 2506376 defendant Leyghton John, junior gent   Leyghton, John, junior, gent 0
5504660 2506376 2506376 defendant Stele Richard yeoman 894241 894241 Stele, Richard, of Chirch Stretton, yeoman 1
5504661 2506376 2506376 defendant Walker John walker 894242 894242 Walker, John, of Lybotwod, walker 2
5504662 2506376 2506376 defendant Davys John husbandman 894242 894242 Davys, John, of Lybotwod, husbandman 3
5504663 2506376 2506376 defendant Yevans John yeoman 612039 612039 Yevans, John, of Cotys, yeoman 4
5504664 2506376 2506376 defendant Wood Henry husbandman 588833 588833 Wood, Henry, of Stratton, husbandman 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 16.111ms