home / cp40x

names

5 rows where case_id = 2407257

✎ 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
5171050 2407257 2407257 plaintiff Keston Thomas     Keston, Thomas 0
5171051 2407257 2407257 defendant Barnak Thomas gent 592687 592687 Barnak, Thomas, of Barnak, Nhants, gent 0
5171052 2407257 2407257 defendant Bonn Henry (legal representative)   Bonn, Henry, executors of 1
5171053 2407257 2407257 defendant Houson Edward husbandman 597050 597050 (Houson, Edward, of Gretford, husbandman 2
5171054 2407257 2407257 defendant Fletton Robert husbandman 618979 618979 Fletton, Robert, of Nassyngton, Nhants, 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 14.561ms