home / cp40x

names

6 rows where case_id = 2397024

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5135939 2397024 2397024 plaintiff Mountford Edmund knight   Mountford, Edmund, knight 0
5135940 2397024 2397024 defendant Breswold Robert yeoman 601550 601550 Breswold, Robert, of Kenelworth, yeoman 0
5135941 2397024 2397024 defendant Joodus William yeoman 586152 586152 Joodus, William, of Warwick, yeoman 1
5135942 2397024 2397024 defendant Willynmote Nicholas fuller 586152 586152 Willynmote, Nicholas, of Warwick, fuller 2
5135943 2397024 2397024 defendant Dolas Hnery tanner 601550 601550 Dolas, Hnery, of Kenelworth, tanner 3
5135944 2397024 2397024 defendant Couche Richard weaver 586117 586117 Couche, Richard, of Coventry, weaver 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 12.89ms