home / cp40x

names

6 rows where case_id = 2340089

✎ 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
4943997 2340089 2340089 plaintiff Gybthorp John     Gybthorp, John 0
4943998 2340089 2340089 defendant Dandyson William fisher 825539 825539 Dandyson, William, of Waynfret, fisher 0
4943999 2340089 2340089 defendant Sawer John husbandman 817621 817621 Sawer, John, of Thorp juxta Waynflet, husbandman 1
4944000 2340089 2340089 defendant Alby John fisher 587546 587546 Alby, John, of Halton, fisher 2
4944001 2340089 2340089 defendant Gretam John smith 609399 609399 Gretam, John, of Braytoft, smith 3
4944002 2340089 2340089 defendant Jonson Philip husbandman 609399 609399 Jonson, Philip, of Braytoft, 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 15.229ms