home / cp40x

names

6 rows where case_id = 2379198

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5075592 2379198 2379198 plaintiff Andrewe John     Andrewe, John 0
5075593 2379198 2379198 defendant Thurstone Robert husbandman 591703 591703 Thurstone, Robert, of Billyngford juxta Scoles, Norf, husbandman 0
5075594 2379198 2379198 defendant Rikkys Robert butcher 843426 843426 Rikkys, Robert, of Brodedyssh, Norf, butcher 1
5075595 2379198 2379198 defendant Rikkys John butcher 843427 843427 Rikkys, John, of Brodedyssh, butcher 2
5075596 2379198 2379198 defendant Emmys Richard   586180 586180 Emmys, Richard, of Bury St Edmunds, coverlet weaver 3
5075597 2379198 2379198 defendant Barker John husbandman 596529 596529 Barker, John, of Culford, husbandman 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 14.205ms