home / cp40x

names

6 rows where case_id = 2364482

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5025941 2364482 2364482 plaintiff Kyng Simon     Kyng, Simon 0
5025942 2364482 2364482 defendant Maret Robert husbandman 601641 601641 Maret, Robert, of Mathyn, Worcs, husbandman 0
5025943 2364482 2364482 defendant Sondy David husbandman 795710 795710 Sondy, David, of Credeley, husbandman 1
5025944 2364482 2364482 defendant Eweas John husbandman 685589 685589 Eweas, John, of Munderfeld, husbandman 2
5025945 2364482 2364482 defendant Milleward Henry husbandman 587058 587058 Milleward, Henry, of Sutton, husbandman 3
5025946 2364482 2364482 defendant Chamberleyn William husbandman 795710 795710 Chamberleyn, William, of Credeley, 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 7.042ms