home / cp40x

names

8 rows where case_id = 2351793

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4982883 2351793 2351793 plaintiff Ude Thomas     Ude, Thomas 0
4982884 2351793 2351793 defendant Smyth Stephen smith 789867 789867 Smyth, Stephen, of Leyn, smith 0
4982885 2351793 2351793 defendant Husbond David tucker 747466 747466 Husbond, David, of Tre-, tucker 1
4982886 2351793 2351793 defendant Bluet Walter husbandman 830421 830421 Bluet, Walter, of Corneyre, husbandman 2
4982887 2351793 2351793 defendant Breys John husbandman 830422 830422 Breys, John, of Bodeyf, husbandman 3
4982888 2351793 2351793 defendant Post John husbandman 830422 830422 Post, John, of Bodeyf, husbandman 4
4982889 2351793 2351793 defendant Milward John   830423 830423 Milward, John, of Hengen, millward 5
4982890 2351793 2351793 defendant Billyon Henry husbandman 830424 830424 Billyon, Henry, of St Mynvere, husbandman 6

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