home / cp40x

names

6 rows where case_id = 2316432

✎ 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
4866309 2316432 2316432 plaintiff Gylle Stephen     Gylle, Stephen 0
4866310 2316432 2316432 defendant Turner William weaver 601515 601515 Turner, William, of Lapford, weaver 0
4866311 2316432 2316432 defendant Moulton John husbandman 814741 814741 Moulton, John, of Rowesasshe, husbandman 1
4866312 2316432 2316432 defendant Rowe John husbandman 610897 610897 Rowe, John, of Knoweston, husbandman 2
4866313 2316432 2316432 defendant Bylholl William husbandman 814742 814742 Bylholl, William, of Thelbriche, husbandman 3
4866314 2316432 2316432 defendant Blakemore John husbandman 814743 814743 Blakemore, John, of Meweshewe, 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 15.6ms