home / cp40x

names

7 rows where case_id = 1911775

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3654847 1911775 1911775 plaintiff Bavyngton William (legal representative)   Bavyngton, William, executors of 0
3654848 1911775 1911775 plaintiff Longman John     (Longman, John 1
3654849 1911775 1911775 plaintiff Longman Joan     Joan, his wife 2
3654850 1911775 1911775 defendant Canon Tnomas husbandman 603531 603531 Canon, Tnomas, of Standsted Mountfychet, husbandman 0
3654851 1911775 1911775 defendant Canon John hsubandman 603531 603531 Canon, John, of Standsted Mountfychet, hsubandman 1
3654852 1911775 1911775 defendant Lathbury John butcher 603532 603532 Lathbury, John, of Much Hadham, butcher 2
3654853 1911775 1911775 defendant Webbe John fuller 603532 603532 Webbe, John, of Much Hadham, fuller 3

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