home / cp40x

names

6 rows where case_id = 2471177

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5386387 2471177 2471177 plaintiff Coton Thomas (legal representative)   Coton, Thomas, executors of 0
5386388 2471177 2471177 plaintiff Coton Joan widow   (Coton, Joan, widow 1
5386389 2471177 2471177 plaintiff Welles John clerk   Welles, John, clerk 2
5386390 2471177 2471177 defendant Broughton Thomas gent 739230 739230 Broughton, Thomas, of Rugley, gent 0
5386391 2471177 2471177 defendant Page Robert husbandman 606957 606957 Page, Robert, of Hansacre, husbandman 1
5386392 2471177 2471177 defendant Coton Richard butcher 881429 881429 Coton, Richard, of Yoxesale, butcher 2

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