home / cp40x

names

6 rows where case_id = 1866647

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3596838 1866647 1866647 plaintiff Purfote William     Purfote, William 0
3596839 1866647 1866647 defendant Squyer Edward smith 585951 585951 Squyer, Edward, of Winchester, smith 0
3596840 1866647 1866647 defendant Melche Mathew smith 586464 586464 Melche, Mathew, of Croydon, smith 1
3596841 1866647 1866647 defendant Twyner John yeoman 589187 589187 Twyner, John, of Mescham, yeoman 2
3596842 1866647 1866647 defendant Underhill John yeoman 589188 589188 Underhill, John, of Lyngfeld, yeoman 3
3596843 1866647 1866647 defendant Ludby John carpenter 586464 586464 Ludby, John, of Croydon, carpenter 4

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.747ms