home / cp40x

names

6 rows where case_id = 1947977

✎ 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
3769065 1947977 1947977 plaintiff Pygott John     Pygott, John 0
3769066 1947977 1947977 defendant Jurdon Thomas smith 619332 619332 Jurdon, Thomas, of Culpho, smith 0
3769067 1947977 1947977 defendant Raynold William husbandman 607359 607359 Raynold, William, of Fylstowe, husbandman 1
3769068 1947977 1947977 defendant Markyn Thomas laborer 626269 626269 Markyn, Thomas, of Trymbley St Martin, laborer 2
3769069 1947977 1947977 defendant Warner Thomas husbandman 606837 606837 Warner, Thomas, of Levyngton, husbandman 3
3769070 1947977 1947977 defendant Rycher Roger husbandman 626270 626270 Rycher, Roger, of Bawdese, 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 7.445ms