home / cp40x

names

6 rows where case_id = 1938136

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3738099 1938136 1938136 plaintiff Mayle Thomas     Mayle, Thomas 0
3738100 1938136 1938136 defendant Byrryet John husbandman 604381 604381 Byrryet, John, of Cam, husbandman 0
3738101 1938136 1938136 defendant Byrryet Richard husbandman 604381 604381 Byrryet, Richard, of Cam, husbandman 1
3738102 1938136 1938136 defendant Bayly William husbandman 604381 604381 Bayly, William, of Cam, husbandman 2
3738103 1938136 1938136 defendant Scull William husbandman 620860 620860 Scull, William, of Yowley, husbandman 3
3738104 1938136 1938136 defendant Handcok Edmund husbandman 620860 620860 Handcok, Edmund, of Yowley, 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 16.584ms