home / cp40x

names

6 rows where case_id = 2386605

✎ 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
5100602 2386605 2386605 plaintiff Abell John gent 586117 586117 Abell, John, of Coventry, gent 0
5100603 2386605 2386605 defendant Burnell Robert pewterer 586117 586117 Burnell, Robert, of Coventry, pewterer 0
5100604 2386605 2386605 defendant Norhampton William butcher 586117 586117 Norhampton, William, of Coventry, butcher 1
5100605 2386605 2386605 defendant Colyns John gent 602741 602741 Colyns, John, of Yerdeley, Worcs, gent 2
5100606 2386605 2386605 defendant Sandon Ralph clerk 633832 633832 Sandon, Ralph, of Lapworth, Warks, clerk 3
5100607 2386605 2386605 defendant Cramlyngton John   586163 586163 Cramlyngton, John, of Henley in Ardern, Warks, hermit 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 14.526ms