home / cp40x

names

5 rows where case_id = 2409122

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5177522 2409122 2409122 plaintiff Wynde Peter     Wynde, Peter 0
5177523 2409122 2409122 defendant Carter Richard husbandman 592327 592327 Carter, Richard, of Melford, Suff, husbandman 0
5177524 2409122 2409122 defendant Copdok Thomas husbandman 613483 613483 Copdok, Thomas, of Bulmer, Essex, husbandman 1
5177525 2409122 2409122 defendant Umfrey John husbandman 589238 589238 Umfrey, John, of Bulmer, husbandman 2
5177526 2409122 2409122 defendant Brygge John husbandman 589238 589238 Brygge, John, of Bulmer, husbandman 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 17.148ms