home / cp40x

names

6 rows where case_id = 2490568

✎ 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
5452325 2490568 2490568 plaintiff (not given) Thomas prior of Sutbury 764957 764957 Sutbury, Thomas, of Great Wenlok, prior of monastery of St Milburga 0
5452326 2490568 2490568 defendant Laweley Thomas yeoman 764957 764957 Laweley, Thomas, of Great Wenlok, yeoman 0
5452327 2490568 2490568 defendant Glover Richard glover 764957 764957 Glover, Richard, of Great Wenlok, glover 1
5452328 2490568 2490568 defendant Smyth John smith 764957 764957 Smyth, John, of Great Wenlok, smith 2
5452329 2490568 2490568 defendant Legge Richard of Great Wenlok smith   Legge, Richard of Great Wenlok, smith 3
5452330 2490568 2490568 defendant Fryser William butcher 764957 764957 Fryser, William, of Great Wenlok, butcher 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 18.137ms