home / cp40x

names

6 rows where case_id = 2373273

✎ 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
5055694 2373273 2373273 plaintiff Bryt William     Bryt, William 0
5055695 2373273 2373273 defendant Darche John husbandman 841033 841033 Darche, John, of Stoford juxta Willyscombe, husbandman 0
5055696 2373273 2373273 defendant Darche Henry husbandman 763383 763383 Darche, Henry, of Broun, husbandman 1
5055697 2373273 2373273 defendant Middelton John husbandman   Middelton, John, husbandman 2
5055698 2373273 2373273 defendant Wyther alias Drakefed John husbandman 841034 841034 Wyther alias Drakefed, John, of Knyghcote, husbandman 3
5055699 2373273 2373273 defendant Perrot William, senior husbandman 586490 586490 Perrot, William, senior, of Milverton, 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 14.955ms