home / cp40x

names

6 rows where case_id = 2528924

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5580300 2528924 2528924 plaintiff Butterfeld Thomas (legal representative)   Butterfeld, Thomas, executrix of 0
5580301 2528924 2528924 plaintiff Butterfeld Agnes widow   Butterfeld, Agnes, widow 1
5580302 2528924 2528924 defendant Mason John clerk 902380 902380 Mason, John, of Foulesutton, clerk 0
5580303 2528924 2528924 defendant Birde George laborer 595956 595956 Birde, George, of Blaktoft, laborer 1
5580304 2528924 2528924 defendant Rudby William husbandman 595423 595423 Rudby, William, of Skelton, husbandman 2
5580305 2528924 2528924 defendant Batell Christopher yeoman 902381 902381 Batell, Christopher, of Willetoft, yeoman 3

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 10.99ms