home / cp40x

names

7 rows where case_id = 2324248

✎ 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
4892040 2324248 2324248 plaintiff Assheby John canon of Hereford Cathedral   Assheby, John, canon of Hereford Cathedral 0
4892041 2324248 2324248 plaintiff Stanewey Robert     Stanewey, Robert 1
4892042 2324248 2324248 defendant Carpenter Roger carpenter 586208 586208 Carpenter, Roger, of Hereford, carpenter 0
4892043 2324248 2324248 defendant Fote Henry husbandman 592031 592031 Fote, Henry, of Madley, husbandman 1
4892044 2324248 2324248 defendant Knappe Philip husbandman 586212 586212 Knappe, Philip, of Huntyngton, husbandman 2
4892045 2324248 2324248 defendant Wodeward John husbandman 592031 592031 Wodeward, John, of Madley, husbandman 3
4892046 2324248 2324248 defendant Bernard John husbandman 587004 587004 Bernard, John, of Preston, husbandman 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 16.369ms