home / cp40x

names

8 rows where case_id = 2325377

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4895876 2325377 2325377 plaintiff Wombewell Thomas esq   Wombewell, Thomas, esq 0
4895877 2325377 2325377 plaintiff Strother Thomas     Strother, Thomas 1
4895878 2325377 2325377 defendant del Hill John husbandman 594727 594727 del Hill, John, of Acworth, husbandman 0
4895879 2325377 2325377 defendant Metheley John husbandman 603083 603083 Metheley, John, of Wragby, husbandman 1
4895880 2325377 2325377 defendant Draper John husbandman 772398 772398 Draper, John, of Darthyngton, husbandman 2
4895881 2325377 2325377 defendant Raweson Edmund husbandman 799956 799956 Raweson, Edmund, of Cridlyng, husbandman 3
4895882 2325377 2325377 defendant Saunderson William husbandman 590939 590939 Saunderson, William, of Kelyngton, husbandman 4
4895883 2325377 2325377 defendant Lilburn Gerard yeoman 598994 598994 Lilburn, Gerard, of Feribrig, yeoman 5

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.227ms