home / cp40x

names

6 rows where case_id = 2397948

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5139164 2397948 2397948 plaintiff Seymour John knight   Seymour, John, knight 0
5139165 2397948 2397948 defendant Moold Thomas husbandman 851845 851845 Moold, Thomas, of Hellemere, husbandman 0
5139166 2397948 2397948 defendant Whytefare Thomas mercer 586208 586208 Whytefare, Thomas, of Hereford, mercer 1
5139167 2397948 2397948 defendant Dyer John yeoman 586208 586208 Dyer, John, of Hereford, yeoman 2
5139168 2397948 2397948 defendant Gummond John gent 590059 590059 Gummond, John, of Byford, gent 3
5139169 2397948 2397948 defendant Wylly John sadler 586208 586208 Wylly, John, of Hereford, sadler 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 15.036ms