home / cp40x

names

4 rows where case_id = 1969376

✎ 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
3836694 1969376 1969376 plaintiff Roweswell John     Roweswell, John 0
3836695 1969376 1969376 defendant Harrys John husbandman 637473 637473 Harrys, John, of Owtherey, husbandman 0
3836696 1969376 1969376 defendant Brownyng John yeoman 592997 592997 Brownyng, John, of Wedmore, yeoman 1
3836697 1969376 1969376 defendant Felcher Robert husbandman 592997 592997 Felcher, Robert, of Wedmore, husbandman 2

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 11.771ms