home / cp40x

names

7 rows where case_id = 2008942

✎ 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
3955364 2008942 2008942 plaintiff Marrowe Edward gent   Marrowe, Edward, gent, administrator of 0
3955365 2008942 2008942 plaintiff Smalbroke Richard     Smalbroke, Richard 1
3955366 2008942 2008942 defendant Hanford Thomas husbandman 627271 627271 Hanford, Thomas, of Elmeden, husbandman 0
3955367 2008942 2008942 defendant Bradburne Thomas husbandman 627271 627271 Bradburne, Thomas, of Elmeden, husbandman 1
3955368 2008942 2008942 defendant Hall Nicholas husbandman 590055 590055 Hall, Nicholas, of Solyhull, husbandman 2
3955369 2008942 2008942 defendant Kymberley or Rymberley Richard husbandman 590055 590055 Kymberley or Rymberley, Richard, of Solyhull, husbandman 3
3955370 2008942 2008942 defendant Glover James husbandman 590055 590055 Glover, James, of Solyhull, 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 13.973ms