home / cp40x

names

7 rows where case_id = 2198426

✎ 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
4492722 2198426 2198426 plaintiff Albrighton Roger farmer or renter of the church 762936 762936 Albrighton, Roger, of Great Stoketon, farmer or renter of the church, on his own account 0
4492723 2198426 2198426 defendant Gibbe Adam     Gibbe, Adam 0
4492724 2198426 2198426 defendant Berde Simon     Berde, Simon 1
4492725 2198426 2198426 defendant Reveer John     Reveer, John 2
4492726 2198426 2198426 defendant Adgene Henry     Adgene, Henry 3
4492727 2198426 2198426 defendant Sawetre John wright   Sawetre, John, wright 4
4492728 2198426 2198426 defendant Stakerell William     Stakerell, William 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 15.065ms