home / cp40x

names

5 rows where case_id = 2501052

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5487137 2501052 2501052 plaintiff Stirtivaunt Lawrence     Stirtivaunt, Lawrence 0
5487138 2501052 2501052 defendant Hyve or Hyne John husbandman 595541 595541 Hyve or Hyne, John, of Ossyngton, husbandman 0
5487139 2501052 2501052 defendant Wodehous Thomas husbandman 892437 892437 Wodehous, Thomas, of Topclyff in the Holyns, Dronfeld, Derbs, husbandman 1
5487140 2501052 2501052 defendant Knowet Robert husbandman 892438 892438 Knowet, Robert, of Wodehous juxta Northwell, husbandman 2
5487141 2501052 2501052 defendant Aston Richard husbandman 892439 892439 Aston, Richard, of Crissall juxta Knesall, husbandman 3

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