home / cp40x

names

7 rows where case_id = 1913672

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3660884 1913672 1913672 plaintiff Hykman John     Hykman, John 0
3660885 1913672 1913672 defendant Hampton Thomas yeoman 587015 587015 Hampton, Thomas, of St Albans, yeoman 0
3660886 1913672 1913672 defendant Peryent William gent 587015 587015 Peryent, William, of St Albans, gent 1
3660887 1913672 1913672 defendant Bell Julia widow 587015 587015 Bell, Julia, of St Albans, widow 2
3660888 1913672 1913672 defendant Dynner Geoffrey (legal representative)   Dynner, Geoffrey, executors of 3
3660889 1913672 1913672 defendant Halywell Henry   587015 587015 (Halywell, Henry, of St Albans, shoe maker 4
3660890 1913672 1913672 defendant Halywell Margtaret     Margtaret, his wife 5

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