home / cp40x

names

5 rows where case_id = 2441010

✎ 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
5286356 2441010 2441010 plaintiff Hevenyngham John knight   Hevenyngham, John, knight 0
5286357 2441010 2441010 plaintiff Belyngeham Mathew     Belyngeham, Mathew 1
5286358 2441010 2441010 defendant Browester Robert husbandman 617404 617404 Browester, Robert, of Russhmere, husbandman 0
5286359 2441010 2441010 defendant Mors William husbandman 617404 617404 Mors, William, of Russhmere, husbandman 1
5286360 2441010 2441010 defendant Ston John husbandman 593956 593956 Ston, John, of Barneby, 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 17.031ms