home / cp40x

names

5 rows where case_id = 2310653

✎ 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
4847285 2310653 2310653 plaintiff Roger John     Roger, John 0
4847286 2310653 2310653 defendant Doute Walter husbandman 811997 811997 Doute, Walter, of North Houghton, Hants, husbandman 0
4847287 2310653 2310653 defendant Dyer Nicholas husbandman 811998 811998 Dyer, Nicholas, of North Houghton, husbandman 1
4847288 2310653 2310653 defendant Piper Richard husbandman 602643 602643 Piper, Richard, of Stokbrigge, husbandman 2
4847289 2310653 2310653 defendant Skillyng Michael gent 811999 811999 together with Skillyng, Michael, of Spershot, gent 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 11.849ms