home / cp40x

names

6 rows where case_id = 2290584

✎ 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
4782637 2290584 2290584 plaintiff Cotwode Geoffrey     Cotwode, Geoffrey 0
4782638 2290584 2290584 defendant Cook John butcher 630947 630947 Cook, John, of North Birlyngham, butcher 0
4782639 2290584 2290584 defendant Hare John husbandman 801717 801717 Hare, John, of Purlond, husbandman 1
4782640 2290584 2290584 defendant Honyng John husbandman 759963 759963 Honyng, John, of Lodne, husbandman 2
4782641 2290584 2290584 defendant Wrighte Thomas husbandman 759963 759963 Wrighte, Thomas, of Lodne, husbandman 3
4782642 2290584 2290584 defendant Robynys John husbandman 603944 603944 Robynys, John, of Dilham, 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 15.191ms