home / cp40x

names

8 rows where case_id = 2245915

✎ 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
4649596 2245915 2245915 plaintiff Walden John esq   Walden, John, esq 0
4649597 2245915 2245915 defendant Heldere John   773030 773030 Heldere, John, of Hovesdon 0
4649598 2245915 2245915 defendant Somenour John   773030 773030 Somenour, John, of Hovesdon 1
4649599 2245915 2245915 defendant Leget Edward   588156 588156 Leget, Edward, of Kympton 2
4649600 2245915 2245915 defendant Pulter John   599887 599887 Pulter, John, of Codycote 3
4649601 2245915 2245915 defendant Kere Thomas     Kere, Thomas 4
4649602 2245915 2245915 defendant Cook John   753666 753666 Cook, John, of Storteford 5
4649603 2245915 2245915 defendant Gladwyn John bailiff   Gladwyn, John, bailiff 6

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.232ms