home / cp40x

names

4 rows where case_id = 2249240

✎ 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
4660919 2249240 2249240 plaintiff Dorlet John     Dorlet, John 0
4660920 2249240 2249240 defendant Hasard Adam draper 620332 620332 Hasard, Adam, of Bridport, Dorset, draper 0
4660921 2249240 2249240 defendant Draper Richard hosier 779362 779362 Draper, Richard, of Devise. Wilts, hosier 1
4660922 2249240 2249240 defendant Thommes John draper 594634 594634 Thommes, John, of Shirburn, Dorset, draper 2

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.527ms