home / cp40x

names

5 rows where case_id = 2513286

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5527873 2513286 2513286 plaintiff Marsham Richard salter 585869 585869 Marsham, Richard, of London, salter 0
5527874 2513286 2513286 defendant Wattys Thomas mariner 896596 896596 Wattys, Thomas, of Brekelishey, mariner 0
5527875 2513286 2513286 defendant Serff Thomas chapman 593073 593073 Serff, Thomas, of Burnham, chapman 1
5527876 2513286 2513286 defendant Arblaster Thomas gent 595716 595716 Arblaster, Thomas, of Neylond, Suff, gent 2
5527877 2513286 2513286 defendant Massy John yeoman 589383 589383 Massy, John, of Maydeston, Kent, yeoman 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 12.961ms