home / cp40x

names

8 rows where case_id = 2367822

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5037439 2367822 2367822 plaintiff Wilcok John     Wilcok, John 0
5037440 2367822 2367822 defendant Swan Simon merchant 586067 586067 Swan, Simon, of York, merchant 0
5037441 2367822 2367822 defendant Forester Richard yeoman 586067 586067 Forester, Richard, of York, yeoman 1
5037442 2367822 2367822 defendant Haldeworth William yeoman 595368 595368 Haldeworth, William, of Halyfax, yeoman 2
5037443 2367822 2367822 defendant Nicoll William nailer 838065 838065 Nicoll, William, of Crygylleston, nailer 3
5037444 2367822 2367822 defendant Inkersell John yeoman 838066 838066 Inkersell, John, of Inkersell, yeoman 4
5037445 2367822 2367822 defendant Sutton William (legal representative)   Sutton, William, executrix of 5
5037446 2367822 2367822 defendant Sutton Isabel widow 804162 804162 Sutton, Isabel, of Surflet, Lincs, widow 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 15.037ms