home / cp40x

names

6 rows where case_id = 2339909

✎ 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
4943405 2339909 2339909 plaintiff Godalghan John, junior     Godalghan, John, junior 0
4943406 2339909 2339909 defendant Goff Alvered smith 590632 590632 Goff, Alvered, of St Peryn, smith 0
4943407 2339909 2339909 defendant Goff Martin smith 825460 825460 Goff, Martin, of Seynt Ia, smith 1
4943408 2339909 2339909 defendant Goff Richard smith 803847 803847 Goff, Richard, of Seynt Dey, smith 2
4943409 2339909 2339909 defendant Bollyer John Betty tucker 602355 602355 Bollyer, John Betty, of St Madern, tucker 3
4943410 2339909 2339909 defendant Goff John smith 597064 597064 Goff, John, of Redruth, smith 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.923ms