home / cp40x

names

6 rows where case_id = 2372254

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5052142 2372254 2372254 plaintiff York   in   York, Master of the Hospital of St Leonards, in 0
5052143 2372254 2372254 defendant Bele Robert husbandman 592104 592104 Bele, Robert, of Langtoft, husbandman 0
5052144 2372254 2372254 defendant Holme John yeoman 840564 840564 Holme, John, of Fleteham by Kirkby, in Richmondshire, yeoman 1
5052145 2372254 2372254 defendant Pullan Richard yeoman 586005 586005 Pullan, Richard, of Upton, yeoman 2
5052146 2372254 2372254 defendant rothelay Richard husbandman 840565 840565 rothelay, Richard, of Puddesey, husbandman 3
5052147 2372254 2372254 defendant Balke William husbandman 586290 586290 Balke, William, of Balke, 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.805ms