home / cp40x

names

6 rows where case_id = 1955921

✎ 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
3793784 1955921 1955921 plaintiff Brownyng Thomas     Brownyng, Thomas 0
3793785 1955921 1955921 defendant More John beer brewer 587249 587249 More, John, of Chelmesford, beer brewer 0
3793786 1955921 1955921 defendant Strode Henry barber 587249 587249 Strode, Henry, of Chelmesford, barber 1
3793787 1955921 1955921 defendant Grande Edmund haberdasher 587249 587249 Grande, Edmund, of Chelmesford, haberdasher 2
3793788 1955921 1955921 defendant Wade William carpenter 588991 588991 Wade, William, of Magna Waltham, carpenter 3
3793789 1955921 1955921 defendant Deley Henry dyer 587249 587249 Deley, Henry, of Chelmesford, dyer 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 12.552ms