home / cp40x

names

7 rows where case_id = 2338897

✎ 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
4939995 2338897 2338897 plaintiff Dale Roger     Dale, Roger 0
4939996 2338897 2338897 defendant Danyell William butcher 586028 586028 Danyell, William, of Tamworth, butcher 0
4939997 2338897 2338897 defendant Danyell John butcher 586028 586028 Danyell, John, of Tamworth, butcher 1
4939998 2338897 2338897 defendant Wynson John miller 825008 825008 Wynson, John, of Wylmyncotes, miller 2
4939999 2338897 2338897 defendant Hamond William vicar of Ansteley   Hamond, William, vicar of Ansteley 3
4940000 2338897 2338897 defendant Colley John husbandman 586974 586974 Colley, John, of Pollesworth, husbandman 4
4940001 2338897 2338897 defendant Anketell Ralph husbandman 589332 589332 Anketell, Ralph, of Hurley, husbandman 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.749ms