home / cp40x

names

5 rows where case_id = 2153259

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4367013 2153259 2153259 plaintiff Graye Lawrence gent   Graye, Lawrence, gent 0
4367014 2153259 2153259 defendant Warde Henry husbandman 745555 745555 Warde, Henry, of Hill Wotton, husbandman 0
4367015 2153259 2153259 defendant Ensworth William husbandman 745556 745556 Ensworth, William, of Leeke Wotton, husbandman 1
4367016 2153259 2153259 defendant Palmer John administrators of   Palmer, John, administrators of 2
4367017 2153259 2153259 defendant Camell Robert husbandman 745557 745557 (Camell, Robert, of Hill Wooton, 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 5.826ms