home / cp40x

names

6 rows where case_id = 1983406

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3879524 1983406 1983406 plaintiff Mylward Robert   600260 600260 Mylward, Robert, of Eyton 0
3879525 1983406 1983406 defendant Mastergent William tailor 644419 644419 Mastergent, William, of Uttoxater, Staffs, tailor 0
3879526 1983406 1983406 defendant More William butcher 587086 587086 More, William, of Uttoxater, butcher 1
3879527 1983406 1983406 defendant Hooden Richard husbandman 644420 644420 Hooden, Richard, of Denston, Staffs, husbandman 2
3879528 1983406 1983406 defendant Assheton Thomas butcher 644421 644421 Assheton, Thomas, of Penkreche, Staffs, butcher 3
3879529 1983406 1983406 defendant Aynesdall Robert butcher 587826 587826 Aynesdall, Robert, of Lychefeld, butcher 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 14.177ms