home / cp40x

names

6 rows where case_id = 1903308

✎ 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
3627013 1903308 1903308 plaintiff Belchere Edmund     Belchere, Edmund 0
3627014 1903308 1903308 defendant Brown John husbandman 597033 597033 Brown, John, of West Haddon, husbandman 0
3627015 1903308 1903308 defendant Freman Nicholas husbandman 597033 597033 Freman, Nicholas, of West Haddon, husbandman 1
3627016 1903308 1903308 defendant Taillour Thomas tailor 597034 597034 Taillour, Thomas, of Wynwyke, tailor 2
3627017 1903308 1903308 defendant Dunkley Thomas husbandman 597033 597033 Dunkley, Thomas, of West Haddon, husbandman 3
3627018 1903308 1903308 defendant Wylson Thomas husbandman 597033 597033 Wylson, Thomas, of West Haddon, 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 9.103ms