home / cp40x

names

5 rows where case_id = 2137220

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4320354 2137220 2137220 plaintiff Shelito John     Shelito, John 0
4320355 2137220 2137220 defendant Laborne Robert, senior yeoman 624918 624918 Laborne, Robert, senior, of Methley, yeoman 0
4320356 2137220 2137220 defendant Kighley Peter clothier 736568 736568 Kighley, Peter, of Hunslett Hall, clothier 1
4320357 2137220 2137220 defendant Apleyard Walter clothier 736568 736568 Apleyard, Walter, of Hunslett Hall, clothier 2
4320358 2137220 2137220 defendant Theckson Edward yeoman or gent 646012 646012 Theckson, Edward, of Byrkyn, yeoman or gent 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 15.384ms