home / cp40x

names

8 rows where case_id = 1957971

✎ 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
3800152 1957971 1957971 plaintiff Lawson James gent   Lawson, James, gent 0
3800153 1957971 1957971 defendant Wylkynson Thomas husbandman 631370 631370 Wylkynson, Thomas, of Benwell, husbandman 0
3800154 1957971 1957971 defendant Jakson Edward   631370 631370 Jakson, Edward, of Benwell 1
3800155 1957971 1957971 defendant Harrop Gawin husbandman 631371 631371 Harrop, Gawin, of Neweheton, husbandman 2
3800156 1957971 1957971 defendant Ferbek Thomas husbandman 631371 631371 Ferbek, Thomas, of Neweheton, husbandman 3
3800157 1957971 1957971 defendant Hadok John husbandman 631371 631371 Hadok, John, of Neweheton, husbandman 4
3800158 1957971 1957971 defendant Dunne John husbandman 631372 631372 Dunne, John, of Fenham, husbandman 5
3800159 1957971 1957971 defendant Harryson Richard husbandman 631371 631371 Harryson, Richard, of Neweheton, husbandman 6

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 6.947ms