home / cp40x

names

6 rows where case_id = 2348793

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4972771 2348793 2348793 plaintiff Lambert Thomas     Lambert, Thomas 0
4972772 2348793 2348793 defendant Futyt John yeoman 829151 829151 Futyt, John, of Wawen, Yorks, yeoman 0
4972773 2348793 2348793 defendant Thomas William husbandman 829152 829152 Thomas, William, of Popiller, husbandman 1
4972774 2348793 2348793 defendant Edwyn William carter 585869 585869 Edwyn, William, of London, carter 2
4972775 2348793 2348793 defendant Jonson Peter beer brewer 590009 590009 Jonson, Peter, of St Mary Matfelon, Algate, London, beer brewer 3
4972776 2348793 2348793 defendant Haserd Alexander merchant 585869 585869 Haserd, Alexander, of London, merchant 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.423ms