home / cp40x

names

6 rows where case_id = 2377863

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5071143 2377863 2377863 plaintiff Smyth William   587414 587414 Smyth, William, of Thetford 0
5071144 2377863 2377863 defendant Sterlyng Robert baker 587414 587414 Sterlyng, Robert, of Thetford, baker 0
5071145 2377863 2377863 defendant Fullere John butcher 586154 586154 Fullere, John, of Magna Elyngham, butcher 1
5071146 2377863 2377863 defendant Heyward John carpenter 587414 587414 Heyward, John, of Thetford, carpenter 2
5071147 2377863 2377863 defendant Warde Richard cordwainer 593687 593687 Warde, Richard, of Methewold, cordwainer 3
5071148 2377863 2377863 defendant atte Hawe Thomas laborer 591464 591464 atte Hawe, Thomas, of Cavenham, Suff, laborer 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 13.235ms