home / cp40x

names

5 rows where place_id = 792093

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4727667 2273894 2273894 defendant Ollond John chapman 792093 792093 Ollond, John, of Hals, Soms, chapman 4
5038874 2368272 2368272 defendant Yea Richard bowyer 792093 792093 Yea, Richard, of Hals, Soms, bowyer 0
5400527 2475217 2475217 defendant Colham Peter husbandman 792093 792093 Colham, Peter, of Hals, Soms, husbandman 1
5422404 2481649 2481649 defendant Botham Richard husbandman 792093 792093 Botham, Richard, of Hals, Soms, husbandman 0
5428850 2483544 2483544 defendant Bolham Richard husbandman 792093 792093 Bolham, Richard, of Hals, Soms, husbandman 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 11.078ms