home / cp40x

names

6 rows where case_id = 2370767

✎ 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
5047143 2370767 2370767 plaintiff Norwych William, senior   585936 585936 Norwych, William, senior, of Norwich 0
5047144 2370767 2370767 defendant Thomson John husbandman 620903 620903 Thomson, John, of Derham, husbandman 0
5047145 2370767 2370767 defendant Haukyn William husbandman 604081 604081 Haukyn, William, of East Derahm, husbandman 1
5047146 2370767 2370767 defendant Gedowte Roger yeoman 598184 598184 Gedowte, Roger, of Totyngton, yeoman 2
5047147 2370767 2370767 defendant Fareman William dyer 598184 598184 Fareman, William, of Totyngton, dyer 3
5047148 2370767 2370767 defendant Iryng Thomas smith 603983 603983 Iryng, Thomas, of Little Walsyngham, smith 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.087ms