home / cp40x

names

7 rows where case_id = 2364976

✎ 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
5027696 2364976 2364976 plaintiff Mauncell John     Mauncell, John 0
5027697 2364976 2364976 defendant Seman William   605828 605828 Seman, William, of Halse, millward 0
5027698 2364976 2364976 defendant Manbury Thomas husbandman 836889 836889 Manbury, Thomas, of Est Dawlyssh, husbandman 1
5027699 2364976 2364976 defendant Squyer John husbandman 833243 833243 Squyer, John, of Hunteworth, husbandman 2
5027700 2364976 2364976 defendant Andrewe John yeoman 590525 590525 Andrewe, John, of North Pederton, yeoman 3
5027701 2364976 2364976 defendant Smyth Reginald smith 833244 833244 Smyth, Reginald, of Creket Deneham, smith 4
5027702 2364976 2364976 defendant Touker John tucker 833245 833245 Touker, John, of Est Dawelyssh, tucker 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 14.694ms