home / cp40x

names

6 rows where case_id = 1983887

✎ 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
3880908 1983887 1983887 plaintiff Robert George     Robert, George 0
3880909 1983887 1983887 defendant Wyllard Thomas smith 592425 592425 Wyllard, Thomas, of Sutton Valens, smith 0
3880910 1983887 1983887 defendant Balcoke Thomas yeoman 644633 644633 Balcoke, Thomas, of Horsmondene, yeoman 1
3880911 1983887 1983887 defendant Newenton John yeoman 597957 597957 Newenton, John, of Maydston, yeoman 2
3880912 1983887 1983887 defendant Lyttelle William smith 644634 644634 Lyttelle, William, of Netelsted, smith 3
3880913 1983887 1983887 defendant Hadlowe William smith 601153 601153 Hadlowe, William, of Seele, smith 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 16.496ms