home / cp40x

names

6 rows where case_id = 2301903

✎ 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
4818610 2301903 2301903 plaintiff Orfeure Richard     Orfeure, Richard 0
4818611 2301903 2301903 defendant Berwyk John yeoman 607549 607549 Berwyk, John, of Keswyk, yeoman 0
4818612 2301903 2301903 defendant Atkynson Thomson John, of Keswyk, tanner   Atkynson, Thomson, John, of Keswyk, tanner 1
4818613 2301903 2301903 defendant German Thomas yeoman 759093 759093 German, Thomas, of Crosthwayt, yeoman 2
4818614 2301903 2301903 defendant Douthwayt Thomas   607549 607549 Douthwayt, Thomas, of Keswyk, servant 3
4818615 2301903 2301903 defendant West Richard de   607549 607549 West, Richard de, of Keswyk, servant 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 13.509ms