home / cp40x

names

6 rows where case_id = 2121897

✎ 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
4277023 2121897 2121897 plaintiff Fenne John     Fenne, John 0
4277024 2121897 2121897 defendant Drake John yeoman 728429 728429 Drake, John, of Rydlington, yeoman 0
4277025 2121897 2121897 defendant Williams Zachary husbandman 686097 686097 Williams, Zachary, of Hicklinge, husbandman 1
4277026 2121897 2121897 defendant Browne Robert carpenter 587058 587058 Browne, Robert, of Sutton, carpenter 2
4277027 2121897 2121897 defendant Goodwyn Mathew (legal representative) 585936 585936 Goodwyn, Mathew, of Norwich, worsted weaver, executors of 3
4277028 2121897 2121897 defendant Goodson Thomas husbandman 585936 585936 (Goodson, Thomas, of Norwich, 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 16.172ms