home / cp40x

names

6 rows where case_id = 2496540

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5471869 2496540 2496540 plaintiff Kelsale Henry     Kelsale, Henry 0
5471870 2496540 2496540 defendant Kent Thomas mercer 606667 606667 Kent, Thomas, of Reading, mercer 0
5471871 2496540 2496540 defendant Blyke John yeoman 678319 678319 Blyke, John, of Long Wytnam, yeoman 1
5471872 2496540 2496540 defendant Sharp Edmund husbandman 593171 593171 Sharp, Edmund, of Milton, husbandman 2
5471873 2496540 2496540 defendant Alyn William dyer 606667 606667 Alyn, William, of Reading, dyer 3
5471874 2496540 2496540 defendant Passlowe Thomas weaver 606667 606667 Passlowe, Thomas, of Reading, weaver 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.701ms