home / cp40x

names

6 rows where case_id = 1929704

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3710826 1929704 1929704 plaintiff Spelman henry esq   Spelman, henry, esq 0
3710827 1929704 1929704 defendant Milgate John prior of Bekenham Priory   Milgate, John, prior of Bekenham Priory 0
3710828 1929704 1929704 defendant Wellys John husbandman 586233 586233 Wellys, John, of Attylburgh, husbandman 1
3710829 1929704 1929704 defendant Webster William husbandman 586154 586154 Webster, William, of Magna Elyngham, husbandman 2
3710830 1929704 1929704 defendant Cowper Thomas   586233 586233 Cowper, Thomas, of Attylburgh, ploughwright 3
3710831 1929704 1929704 defendant Burton Thomas husbandman 586233 586233 Burton, Thomas, of Attylburgh, husbandman 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 15.663ms