home / cp40x

names

8 rows where case_id = 2369287

✎ 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
5042246 2369287 2369287 plaintiff Danyell John, junior     Danyell, John, junior, on his own account 0
5042247 2369287 2369287 defendant Ewer Thomas clerk 587347 587347 Ewer, Thomas, of Tedryngton, clerk 0
5042248 2369287 2369287 defendant Ewere Richard husbandman 587347 587347 Ewere, Richard, of Tedryngton, husbandman 1
5042249 2369287 2369287 defendant Ewere Joan     Joan, his wife 2
5042250 2369287 2369287 defendant Style Robert tanner 587347 587347 Style, Robert, of Tedryngton, tanner 3
5042251 2369287 2369287 defendant Gamrell William husbandman 587347 587347 Gamrell, William, of Tedryngton, husbandman 4
5042252 2369287 2369287 defendant Holder John husbandman 838841 838841 Holder, John, of Ichenton, husbandman 5
5042253 2369287 2369287 defendant Crokehorn John cahpman 593027 593027 Crokehorn, John, of Thornbury, cahpman 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 18.852ms