home / cp40x

names

8 rows where case_id = 2240522

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4630794 2240522 2240522 plaintiff Styward William     Styward, William 0
4630795 2240522 2240522 defendant Warner Nicholas   586966 586966 Warner, Nicholas, of Tunstede 0
4630796 2240522 2240522 defendant Morys John     Morys, John 1
4630797 2240522 2240522 defendant Fullere Henry   587283 587283 Fullere, Henry, of Honyngham 2
4630798 2240522 2240522 defendant Thaxstere Richard   592223 592223 Thaxstere, Richard, of North Todenham 3
4630799 2240522 2240522 defendant Banyard Henry     Banyard, Henry 4
4630800 2240522 2240522 defendant Mey William     Mey, William 5
4630801 2240522 2240522 defendant Lawys William   588406 588406 Lawys, William, of Colton 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 12.994ms