home / cp40x

names

6 rows where case_id = 2553734

✎ 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
5631099 2553734 2553734 plaintiff Shephyrd John   764704 764704 Shephyrd, John, of Ampthull 0
5631100 2553734 2553734 defendant Heeldere John husbandman 614311 614311 Heeldere, John, of Peryton, husbandman 0
5631101 2553734 2553734 defendant Weteney William husbandman 614311 614311 Weteney, William, of Peryton, husbandman 1
5631102 2553734 2553734 defendant Geffrey Nicholas husbandman 907663 907663 Geffrey, Nicholas, of Kynesworth, husbandman 2
5631103 2553734 2553734 defendant Mytton John butcher 587398 587398 Mytton, John, of Luton, Beds, butcher 3
5631104 2553734 2553734 defendant Teynton John butcher 593495 593495 Teynton, John, of Luton, butcher 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.246ms