home / cp40x

names

6 rows where case_id = 2405800

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5166005 2405800 2405800 plaintiff Broun Henry administrators of   Broun, Henry, administrators of 0
5166006 2405800 2405800 plaintiff Merlok Thomas chaplain   (Merlok, Thomas, chaplain 1
5166007 2405800 2405800 plaintiff Nortclyff Ralph   852822 852822 Nortclyff, Ralph, of Carbotesham 2
5166008 2405800 2405800 defendant Bacon Johhn husbandman 587285 587285 Bacon, Johhn, of Kyngesthorp, husbandman 0
5166009 2405800 2405800 defendant Page Robert husbandman 586121 586121 Page, Robert, of Carleton, husbandman 1
5166010 2405800 2405800 defendant Jonson William husbandman 589274 589274 Jonson, William, of Cotyngham, husbandman 2

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 7.026ms