home / cp40x

names

6 rows where case_id = 2408475

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5175329 2408475 2408475 plaintiff Smyth Simon grocer 585869 585869 Smyth, Simon, of London, grocer 0
5175330 2408475 2408475 defendant Lymsey John gent 589393 589393 Lymsey, John, of North Flete, gent 0
5175331 2408475 2408475 defendant Bote Robert husbandman 588779 588779 Bote, Robert, of Gravesend, husbandman 1
5175332 2408475 2408475 defendant Ingram William husbandman 589393 589393 Ingram, William, of North Flete, husbandman 2
5175333 2408475 2408475 defendant Hert Richard yeoman 588665 588665 Hert, Richard, of Dartford, yeoman 3
5175334 2408475 2408475 defendant Bernard John yeoman 603888 603888 Bernard, John, of Sevenoaks, yeoman 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 6.203ms