home / cp40x

names

6 rows where case_id = 2266755

✎ 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
4704413 2266755 2266755 plaintiff Hynkerseell Robert     Hynkerseell, Robert 0
4704414 2266755 2266755 defendant Milner Richard milner 595376 595376 Milner, Richard, of Aghton, milner 0
4704415 2266755 2266755 defendant Daweson Richard husbandman 595376 595376 Daweson, Richard, of Aghton, husbandman 1
4704416 2266755 2266755 defendant Garner Roger husbandman 595376 595376 Garner, Roger, of Aghton, husbandman 2
4704417 2266755 2266755 defendant (illegible) John husbandman 595376 595376 _, John, of Aghton, husbandman 3
4704418 2266755 2266755 defendant Barleburgh John de husbandman 595376 595376 Barleburgh, John de, of Aghton, 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 14.145ms