home / cp40x

names

6 rows where case_id = 2423921

✎ 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
5228432 2423921 2423921 plaintiff Wattys Thomas draper 585869 585869 Wattys, Thomas, of London, draper 0
5228433 2423921 2423921 defendant Kyrkam John yeoman 591052 591052 Kyrkam, John, of Barnet, Herts, yeoman 0
5228434 2423921 2423921 defendant Colby John yeoman 587967 587967 Colby, John, of Barkwey, Herts, yeoman 1
5228435 2423921 2423921 defendant Barnet William yeoman 586033 586033 Barnet, William, of Westminster, yeoman 2
5228436 2423921 2423921 defendant Tomas   William, of Grenestede, Essex, yeoman   Tomas, ,William, of Grenestede, Essex, yeoman 3
5228437 2423921 2423921 defendant Phylip Thomas ironmonger 601003 601003 Phylip, Thomas, of Grenewiche, Kent, yeoman, or of London, ironmonger 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 17.891ms