home / cp40x

names

6 rows where case_id = 1912185

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3656194 1912185 1912185 plaintiff Caly John     Caly, John 0
3656195 1912185 1912185 defendant Lopham Thomas gent 586306 586306 Lopham, Thomas, of Ixworth, gent 0
3656196 1912185 1912185 defendant Mannyng John husbandman 603912 603912 Mannyng, John, of Tweltham, husbandman 1
3656197 1912185 1912185 defendant Blomfeld William husbandman 587921 587921 Blomfeld, William, of Stanton, husbandman 2
3656198 1912185 1912185 defendant Clerk Richard husbandman 603913 603913 Clerk, Richard, of Stowlangtoft, husbandman 3
3656199 1912185 1912185 defendant Dorssettour John husbandman 590061 590061 Dorssettour, John, of Barton, 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 11.789ms