home / cp40x

names

9 rows where case_id = 2393543

✎ 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
5124255 2393543 2393543 plaintiff Yates John   585936 585936 Yates, John, of Norwich 0
5124256 2393543 2393543 defendant Cok William yeoman 782377 782377 Cok, William, of Lynstede, Suff, yeoman 0
5124257 2393543 2393543 defendant Broun Thomas, senior chapman 585936 585936 Broun, Thomas, senior, of Norwich, chapman 1
5124258 2393543 2393543 defendant Gaunt Thomas husbandman 585900 585900 Gaunt, Thomas, of Saham Tony, husbandman 2
5124259 2393543 2393543 defendant Lucas John husbandman 590227 590227 Lucas, John, of Shelton, husbandman 3
5124260 2393543 2393543 defendant Taillour Roger husbandman 586005 586005 Taillour, Roger, of Upton, husbandman 4
5124261 2393543 2393543 defendant Childerhous Thomas husbandman 588981 588981 Childerhous, Thomas, of Brundale, husbandman 5
5124262 2393543 2393543 defendant Tabbe John weaver 602141 602141 Tabbe, John, of Banyngham, weaver 6
5124263 2393543 2393543 defendant Drake Nicholas yeoman 592833 592833 Drake, Nicholas, of Wakton, yeoman 7

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