home / cp40x

names

6 rows where case_id = 2508282

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5511001 2508282 2508282 plaintiff Horne Henry esq   Horne, Henry, esq 0
5511002 2508282 2508282 defendant Dobbys William husbandman 589493 589493 Dobbys, William, of Cobham, husbandman 0
5511003 2508282 2508282 defendant Norman Richard husbandman 595778 595778 Norman, Richard, of Boughton under Blean, husbandman 1
5511004 2508282 2508282 defendant Lykeherst John repyer 588675 588675 Lykeherst, John, of Challok, repyer 2
5511005 2508282 2508282 defendant Sethe Arnold husbandman 770281 770281 Sethe, Arnold, of Eslyng, husbandman 3
5511006 2508282 2508282 defendant Coksell Henry husbandman 627226 627226 Coksell, Henry, of Preston juxta Wyngham, 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 18.529ms