home / cp40x

names

6 rows where case_id = 2508208

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5510762 2508208 2508208 plaintiff Heywode Richard     Heywode, Richard 0
5510763 2508208 2508208 defendant Robynson Christopher weaver 587227 587227 Robynson, Christopher, of Upwell, weaver 0
5510764 2508208 2508208 defendant Jamys Thomas husbandman 588580 588580 Jamys, Thomas, of West Walton, husbandman 1
5510765 2508208 2508208 defendant Jamys William husbandman 588580 588580 Jamys, William, of West Walton, husbandman 2
5510766 2508208 2508208 defendant Anslop William husbandman 587227 587227 Anslop, William, of Upwell, husbandman 3
5510767 2508208 2508208 defendant Ferman John carpenter 593216 593216 Ferman, John, of Elme, carpenter 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.699ms