home / cp40x

names

6 rows where case_id = 2346196

✎ 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
4964202 2346196 2346196 plaintiff (not given)   dean and chapter of Chichester Cathedral   Chichester Cathedral, dean and chapter of 0
4964203 2346196 2346196 defendant Verycote John husbandman 602962 602962 Verycote, John, of Lullyngton, husbandman 0
4964204 2346196 2346196 defendant Roper Richard husbandman 602962 602962 Roper, Richard, of Lullyngton, husbandman 1
4964205 2346196 2346196 defendant Holbeme Stephen husbandman 602962 602962 Holbeme, Stephen, of Lullyngton, husbandman 2
4964206 2346196 2346196 defendant Swon Thomas husbandman 602962 602962 Swon, Thomas, of Lullyngton, husbandman 3
4964207 2346196 2346196 defendant Laket Thomas husbandman 602962 602962 Laket, Thomas, of Lullyngton, 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 15.945ms