home / cp40x

names

6 rows where case_id = 2371970

✎ 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
5051183 2371970 2371970 plaintiff Waterton Robert knight   Waterton, Robert, knight 0
5051184 2371970 2371970 defendant Wade William   709217 709217 Wade, William, of Sylsden, iron worker 0
5051185 2371970 2371970 defendant Marschall William husbandman 840424 840424 Marschall, William, of Great Metheley, husbandman 1
5051186 2371970 2371970 defendant Wryght Richard weaver 840424 840424 Wryght, Richard, of Great Metheley, weaver 2
5051187 2371970 2371970 defendant Leper John, senior husbandman 840424 840424 Leper, John, senior, of Great Metheley, husbandman 3
5051188 2371970 2371970 defendant Olever Richard   840425 840425 Olever, Richard, of Castelford by Pountfreyt or Pontefract, husbandm 4

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.66ms