home / cp40x

names

5 rows where case_id = 2300599

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4814353 2300599 2300599 plaintiff Hyley John     Hyley, John 0
4814354 2300599 2300599 defendant Stacy Thomas husbandman 806399 806399 Stacy, Thomas, of Yynge Abbey, husbandman 0
4814355 2300599 2300599 defendant Saveryn Stephen tailor 806400 806400 Saveryn, Stephen, of Blakmore, tailor 1
4814356 2300599 2300599 defendant Croucheman John husbandman 806401 806401 Croucheman, John, of Ynge Margerete, husbandman 2
4814357 2300599 2300599 defendant Swetyng John husbandman 589768 589768 Swetyng, John, of Wrytell, husbandman 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 7.87ms