home / cp40x

names

6 rows where case_id = 2505408

✎ 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
5501514 2505408 2505408 plaintiff Spyrard John     Spyrard, John 0
5501515 2505408 2505408 defendant Taillour John, senior fishmonger 610465 610465 Taillour, John, senior, of Waldon, Essex, fishmonger 0
5501516 2505408 2505408 defendant Byrd William butcher 587394 587394 Byrd, William, of Marche, butcher 1
5501517 2505408 2505408 defendant Mobe or Move John husbandman 587394 587394 Mobe or Move, John, of Marche, husbandman 2
5501518 2505408 2505408 defendant Helowe Henry husbandman 587074 587074 Helowe, Henry, of Donyngton, husbandman 3
5501519 2505408 2505408 defendant Lone or Love Richard husbandman 893938 893938 Lone or Love, Richard, of Lytyll Porte, 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.278ms