home / cp40x

names

7 rows where case_id = 1975799

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3856932 1975799 1975799 plaintiff Adam Thomas     Adam, Thomas 0
3856933 1975799 1975799 defendant Waller John butcher 617955 617955 Waller, John, of Sabbysforth, butcher 0
3856934 1975799 1975799 defendant Archer Thomas butcher 611505 611505 Archer, Thomas, of Sabbysford, butcher 1
3856935 1975799 1975799 defendant Amber John mercer 611505 611505 Amber, John, of Sabbysford, mercer 2
3856936 1975799 1975799 defendant Pery John husbandman 590861 590861 Pery, John, of Manuden, husbandman 3
3856937 1975799 1975799 defendant Branche Gilbert husbandman 626638 626638 Branche, Gilbert, of Magna Haddam, husbandman 4
3856938 1975799 1975799 defendant Amber John miller 611505 611505 Amber, John, of Sabbysford, miller 5

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