home / cp40x

names

8 rows where case_id = 2383908

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5091507 2383908 2383908 plaintiff Nevile William     Nevile, William 0
5091508 2383908 2383908 defendant Hoker Thomas husbandman 615143 615143 Hoker, Thomas, of South Clyfton, husbandman 0
5091509 2383908 2383908 defendant Foster Thomas laborer 593397 593397 Foster, Thomas, of Ragnell, laborer 1
5091510 2383908 2383908 defendant Drayton John husbandman 592619 592619 Drayton, John, of South Leverton, husbandman 2
5091511 2383908 2383908 defendant Alyce Peter husbandman 592619 592619 Alyce, Peter, of South Leverton, husbandman 3
5091512 2383908 2383908 defendant Pygot John (legal representative)   Pygot, John, executors of 4
5091513 2383908 2383908 defendant Danyell Richard husbandman 587327 587327 (Danyell, Richard, of Eton, husbandman 5
5091514 2383908 2383908 defendant Cobb John husbandman 591774 591774 Cobb, John, of Coton, husbandman 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 7.245ms