home / cp40x

names

4 rows where place_id = 789304

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4712695 2269283 2269283 defendant Briere Hugh   789304 789304 Briere, Hugh, of Kirton, Devon 3
4712865 2269335 2269335 defendant Hunton John clerk 789304 789304 Hunton, John, of Kirton, Devon, clerk 0
5413597 2478992 2478992 defendant Lye Richard mercer 789304 789304 Lye, Richard, of Kirton, Devon, mercer 1
5596680 2533882 2533882 defendant Grove John chaplain 789304 789304 Grove, John, of Kirton, Devon, chaplain 0

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