home / cp40x

names

6 rows where case_id = 2527543

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5575903 2527543 2527543 plaintiff Strode William esq   Strode, William, esq 0
5575904 2527543 2527543 defendant Sargant Thomas husbandman 587644 587644 Sargant, Thomas, of Whitechurche, husbandman 0
5575905 2527543 2527543 defendant Stenteford Thomas husbandman 587644 587644 Stenteford, Thomas, of Whitechurche, husbandman 1
5575906 2527543 2527543 defendant Stenteford Elias husbandman 602550 602550 Stenteford, Elias, of Whytechurche, husbandman 2
5575907 2527543 2527543 defendant Edmond Joan widow 602550 602550 Edmond, Joan, of Whytechurche, widow 3
5575908 2527543 2527543 defendant Constantyne John husbandman 901904 901904 Constantyne, John, of Tayvystok, 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 13.485ms