home / cp40x

names

5 rows where case_id = 2096309

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4202186 2096309 2096309 plaintiff Kentyshe Robert     Kentyshe, Robert 0
4202187 2096309 2096309 defendant Langto John smith 587301 587301 Langto, John, of Dunstable, Beds, smith 0
4202188 2096309 2096309 defendant Langto Thomas gent 586409 586409 Langto, Thomas, of Dunstable, gent 1
4202189 2096309 2096309 defendant Tufnall Edward smith 714075 714075 Tufnall, Edward, of Kynges Walden, Herts, smith 2
4202190 2096309 2096309 defendant Parkes Richard chapman 587236 587236 Parkes, Richard, of Daventry, Nhants, chapman 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.104ms