home / cp40x

names

7 rows where case_id = 2414774

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5196647 2414774 2414774 plaintiff Spirk Thomas     Spirk, Thomas 0
5196648 2414774 2414774 defendant Homerston Robert yeoman 586167 586167 Homerston, Robert, of East Bradenham, yeoman 0
5196649 2414774 2414774 defendant Pomfret John husbandman 586168 586168 Pomfret, John, of Skernyng, husbandman 1
5196650 2414774 2414774 defendant Couper John husbandman 611062 611062 Couper, John, of Craneworth, husbandman 2
5196651 2414774 2414774 defendant Waleys Richard husbandman 858396 858396 Waleys, Richard, of Estodenham, husbandman 3
5196652 2414774 2414774 defendant Smyth John husbandman 587172 587172 Smyth, John, of East Derham, husbandman 4
5196653 2414774 2414774 defendant Broun John husbandman 858397 858397 Broun, John, of Bressenhale, husbandman 5

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