home / cp40x

names

9 rows where case_id = 2197602

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4490040 2197602 2197602 plaintiff Udy Michael   762660 762660 Udy, Michael, of Trewhyla 0
4490041 2197602 2197602 defendant Tregrethes James     Tregrethes, James 0
4490042 2197602 2197602 defendant Hopkyn John   762661 762661 Hopkyn, John, of Penhalem millward 1
4490043 2197602 2197602 defendant Webber John   762662 762662 Webber, John, of Penhale 2
4490044 2197602 2197602 defendant Webber Miachael   762663 762663 Webber, Miachael, of Carworgy 3
4490045 2197602 2197602 defendant Budde John   762664 762664 Budde, John, of Reswastes 4
4490046 2197602 2197602 defendant Goly John   762665 762665 Goly, John, of Wyngole, parson 5
4490047 2197602 2197602 defendant Socour Michael   762662 762662 Socour, Michael, of Penhale 6
4490048 2197602 2197602 defendant Tomme John smith   Tomme, John, smith 7

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 18.999ms