home / cp40x

names

6 rows where case_id = 1960507

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3808409 1960507 1960507 plaintiff Alman William     Alman, William 0
3808410 1960507 1960507 defendant Saunder William husbandman 586833 586833 Saunder, William, of South Brent, husbandman 0
3808411 1960507 1960507 defendant Tabbe John husbandman 586833 586833 Tabbe, John, of South Brent, husbandman 1
3808412 1960507 1960507 defendant Honwyll John husbandman 586833 586833 Honwyll, John, of South Brent, husbandman 2
3808413 1960507 1960507 defendant Wheke Peter husbandman 586833 586833 Wheke, Peter, of South Brent, husbandman 3
3808414 1960507 1960507 defendant Saunder John husbandman 586833 586833 Saunder, John, of South Brent, 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 12.684ms