home / cp40x

names

5 rows where case_id = 2520460

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5551447 2520460 2520460 plaintiff Cotton Edmund esq   Cotton, Edmund, esq 0
5551448 2520460 2520460 defendant Hyll alias Barbour William, of Botysdale, pedder   Hyll, alias Barbour, William, of Botysdale, pedder 0
5551449 2520460 2520460 defendant Gower John   590301 590301 Gower, John, of Hoxon, tile burner 1
5551450 2520460 2520460 defendant Lyng Thomas husbandman 586407 586407 Lyng, Thomas, of Botysdale, husbandman 2
5551451 2520460 2520460 defendant Dryver Thomas gent 596427 596427 Dryver, Thomas, of Rykynghale Inferior, gent 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.795ms