home / cp40x

names

6 rows where case_id = 2418409

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5209163 2418409 2418409 plaintiff Rotheley Roger   588665 588665 Rotheley, Roger, of Dartford 0
5209164 2418409 2418409 defendant Couper John husbandman 609641 609641 Couper, John, of Otteford, husbandman 0
5209165 2418409 2418409 defendant Bollande John husbandman 771514 771514 Bollande, John, of Bixle, husbandman 1
5209166 2418409 2418409 defendant Erliche Richard husbandman 859575 859575 Erliche, Richard, of Wykham in Plomsted, husbandman 2
5209167 2418409 2418409 defendant Cotear Henry husbandman 586875 586875 Cotear, Henry, of Wroteham, husbandman 3
5209168 2418409 2418409 defendant Coteare Robert husbandman 598611 598611 Coteare, Robert, of Stansted, 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 14.33ms