home / cp40x

names

7 rows where case_id = 2297688

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4804754 2297688 2297688 plaintiff Bourghchier William     Bourghchier, William 0
4804755 2297688 2297688 plaintiff Fray John     Fray, John 1
4804756 2297688 2297688 plaintiff Godyng William     Godyng, William 2
4804757 2297688 2297688 plaintiff Blosme Thomas     Blosme, Thomas 3
4804758 2297688 2297688 plaintiff Smart William     Smart, William 4
4804759 2297688 2297688 defendant Maysaunt John husbandman 599649 599649 Maysaunt, John, of Bumsted Helyon, husbandman 0
4804760 2297688 2297688 defendant Byg John husbandman 804678 804678 Byg, John, of Bosfeld, husbandman 1

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