home / cp40x

names

8 rows where case_id = 2523794

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5563060 2523794 2523794 plaintiff Aley John chaplain   Aley, John, chaplain 0
5563061 2523794 2523794 plaintiff FitzHugh Thomas     FitzHugh, Thomas 1
5563062 2523794 2523794 plaintiff Smyth Richard     Smyth, Richard 2
5563063 2523794 2523794 defendant Norton John baker 585978 585978 Norton, John, of St Neots, Hunts, baker 0
5563064 2523794 2523794 defendant Norton Richard baker 594218 594218 Norton, Richard, of St Neots, baker 1
5563065 2523794 2523794 defendant Laweman John   597335 597335 Laweman, John, of Ford, Eton, wheelwright 2
5563066 2523794 2523794 defendant Fraunceys Thomas husbandman 597996 597996 Fraunceys, Thomas, of Roxston, husbandman 3
5563067 2523794 2523794 defendant Knyght Thomas baker 587327 587327 Knyght, Thomas, of Eton, baker 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.397ms