home / cp40x

names

6 rows where case_id = 2408927

✎ 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
5176876 2408927 2408927 plaintiff Waynflete John clerk & master   Waynflete, John, clerk & master 0
5176877 2408927 2408927 defendant Hemyngburgh John gent 840579 840579 Hemyngburgh, John, of Wystowe by Cawod, gent 0
5176878 2408927 2408927 defendant Dyconson Thomas chaplain & vicar 840579 840579 Dyconson, Thomas, of Wystowe by Cawod, chaplain & vicar 1
5176879 2408927 2408927 defendant Teler John husbandman 840579 840579 Teler, John, of Wystowe by Cawod, husbandman 2
5176880 2408927 2408927 defendant Graunt William husbandman 840579 840579 Graunt, William, of Wystowe by Cawod, husbandman 3
5176881 2408927 2408927 defendant Forester John husbandman 587741 587741 Forester, John, of Wystowe, husbandman 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.061ms