home / cp40x

names

12 rows where case_id = 2498873

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5479457 2498873 2498873 plaintiff Chaterton Edmund clerk   Chaterton, Edmund, clerk 0
5479458 2498873 2498873 plaintiff Stanhop John esq   Stanhop, John, esq 1
5479459 2498873 2498873 plaintiff Cresacre edward clerk   Cresacre, edward, clerk 2
5479460 2498873 2498873 plaintiff Dunham John esq   Dunham, John, esq 3
5479461 2498873 2498873 defendant Smethers John yeoman 623679 623679 Smethers, John, of Cromwell, yeoman 0
5479462 2498873 2498873 defendant Smethers Robert clerk 623679 623679 Smethers, Robert, of Cromwell, clerk 1
5479463 2498873 2498873 defendant Kyngeston John husbandman 598896 598896 Kyngeston, John, of Caunton, husbandman 2
5479464 2498873 2498873 defendant Grave Richard husbandman 891700 891700 Grave, Richard, of Comwell, husbandman 3
5479465 2498873 2498873 defendant Grave Philip husbandman 598896 598896 Grave, Philip, of Caunton, husbandman 4
5479466 2498873 2498873 defendant Ligeard William husbandman 891701 891701 Ligeard, William, of Midilthorp, husbandman 5
5479467 2498873 2498873 defendant Sharp John husbandman 891702 891702 Sharp, John, of orth Muskham, husbandman 6
5479468 2498873 2498873 defendant Broun William husbandman 592462 592462 Broun, William, of Holme juxta Newerk, husbandman 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 15.776ms