home / cp40x

names

7 rows where case_id = 2528262

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5578226 2528262 2528262 plaintiff Aleyn William     Aleyn, William 0
5578227 2528262 2528262 defendant John John cordwainer 595824 595824 John, John, of Belerica, cordwainer 0
5578228 2528262 2528262 defendant Clerk John husbandman 587250 587250 Clerk, John, of Coryngham, husbandman 1
5578229 2528262 2528262 defendant John James husbandman 902158 902158 John, James, of Batylsdon, husbandman 2
5578230 2528262 2528262 defendant Cures William husbandman 599491 599491 Cures, William, of Sudmynster, husbandman 3
5578231 2528262 2528262 defendant Rouse John husbandman 603402 603402 Rouse, John, of Margetyng, husbandman 4
5578232 2528262 2528262 defendant Wyseman James husbandman 609623 609623 Wyseman, James, of South Bemflete, husbandman 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 15.33ms