home / cp40x

names

5 rows where case_id = 2100904

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4215466 2100904 2100904 plaintiff Byssell Thomas     Byssell, Thomas 0
4215467 2100904 2100904 defendant Holbache Thomas yeoman 603439 603439 Holbache, Thomas, of Corley, yeoman 0
4215468 2100904 2100904 defendant Holbache George yeoman 716600 716600 Holbache, George, of Fillongley, yeoman 1
4215469 2100904 2100904 defendant Taylor William, senior husbandman 687532 687532 Taylor, William, senior, of Hampton in Arden, husbandman 2
4215470 2100904 2100904 defendant Taylor William, junior husbandman 716601 716601 Taylor, William, junior, of Sollihull, husbandman 3

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 11.922ms