home / cp40x

names

6 rows where case_id = 2096315

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4202203 2096315 2096315 plaintiff Kett Robert (legal representative)   Kett, Robert, executor of 0
4202204 2096315 2096315 plaintiff Kett Elias     Kett, Elias 1
4202205 2096315 2096315 defendant Browne Edmund butcher 587836 587836 Browne, Edmund, of Folsham, butcher 0
4202206 2096315 2096315 defendant Dacye Thomas husbandman 592242 592242 Dacye, Thomas, of Morley, husbandman 1
4202207 2096315 2096315 defendant Edglyn Edward husbandman 667483 667483 Edglyn, Edward, of Wycklewood, husbandman 2
4202208 2096315 2096315 defendant Browne William husbandman 586365 586365 Browne, William, of Wymondham, 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 15.85ms