home / cp40x

names

6 rows where case_id = 2318024

✎ 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
4871411 2318024 2318024 plaintiff Middylton John     Middylton, John 0
4871412 2318024 2318024 defendant Bedford Thomas merchant 586117 586117 Bedford, Thomas, of Coventry, merchant 0
4871413 2318024 2318024 defendant Wemme William cordwainer 810726 810726 Wemme, William, of Aldewyncle, Nhants, cordwainer 1
4871414 2318024 2318024 defendant Zakerye Alice widow 815419 815419 Zakerye, Alice, of Shene, Middx, widow 2
4871415 2318024 2318024 defendant Sheryngton John husbandman 815420 815420 Sheryngton, John, of Cold Assheby, Nhants, husbandman 3
4871416 2318024 2318024 defendant Cursyll John husbandman 638907 638907 Cursyll, John, of Shene, 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 13.996ms