home / cp40x

names

5 rows where case_id = 2108560

✎ 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
4237102 2108560 2108560 plaintiff Munckton Anthony gent   Munckton, Anthony, gent 0
4237103 2108560 2108560 defendant Shorton John butcher 719955 719955 Shorton, John, of West Raisen, butcher 0
4237104 2108560 2108560 defendant Eaton William laborer 720915 720915 Eaton, William, of Middle Raisen, laborer 1
4237105 2108560 2108560 defendant Watson Henry laborer 720915 720915 Watson, Henry, of Middle Raisen, laborer 2
4237106 2108560 2108560 defendant Bucknall Richard tanner 720915 720915 Bucknall, Richard, of Middle Raisen, tanner 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 17.757ms