home / cp40x

names

5 rows where case_id = 2127450

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4292693 2127450 2127450 plaintiff Bagnoll Ralph     Bagnoll, Ralph 0
4292694 2127450 2127450 defendant Baker Bartholomew yeoman 662690 662690 Baker, Bartholomew, of Bridgnorth, Salop, yeoman 0
4292695 2127450 2127450 defendant Bucknam William weaver 731163 731163 Bucknam, William, of Essett, Bromyard, Herefs, weaver 1
4292696 2127450 2127450 defendant Browne William innholder 608637 608637 Browne, William, of Bromyard, innholder 2
4292697 2127450 2127450 defendant Bucknam Richard husbandman 608637 608637 Bucknam, Richard, of Bromyard, husbandman 3

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.831ms