home / cp40x

names

6 rows where case_id = 2466387

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5370579 2466387 2466387 plaintiff Grove John   586842 586842 Grove, John, of Cirencester, gold smith 0
5370580 2466387 2466387 defendant Llod alias ap David Morris weaver 586318 586318 Llod alias ap David, Morris, of Worcester, weaver 0
5370581 2466387 2466387 defendant Phelypp Morgan   878971 878971 Phelypp, Morgan, of Shire Newton, in Lower Wentia or Monmouthshire, in the Welsh Marches 1
5370582 2466387 2466387 defendant Hurdylston William yeoman 609540 609540 Hurdylston, William, of Fayreford, yeoman 2
5370583 2466387 2466387 defendant Curtene Robert husbandman 600424 600424 Curtene, Robert, of Latton, husbandman 3
5370584 2466387 2466387 defendant More John baker 586208 586208 More, John, of Hereford, baker 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 17.189ms