home / cp40x

names

5 rows where case_id = 2085463

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4171406 2085463 2085463 plaintiff Chicke George     Chicke, George 0
4171407 2085463 2085463 defendant Symmes John husbandman 625360 625360 Symmes, John, of Norton under Hamdon, Soms, husbandman 0
4171408 2085463 2085463 defendant Thorne John   612775 612775 Thorne, John, of Stoke under Hamden, Soms, mason 1
4171409 2085463 2085463 defendant Pricke John yeoman 708139 708139 Pricke, John, of Monc Heney , Soms, yeoman 2
4171410 2085463 2085463 defendant Sheware Edward gent 708140 708140 Sheware, Edward, of Moocheney, gent 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 12.888ms