home / cp40x

names

6 rows where case_id = 2357905

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5003449 2357905 2357905 plaintiff Partryche Thomas grocer 585869 585869 Partryche, Thomas, of London, grocer 0
5003450 2357905 2357905 defendant Carre Nicholas mercer 781524 781524 Carre, Nicholas, of Coventry, Warws, mercer 0
5003451 2357905 2357905 defendant Estmond John carrier 604452 604452 Estmond, John, of Devizes, Wilts, carrier 1
5003452 2357905 2357905 defendant Condelen William baker 780266 780266 Condelen, William, of Gloucester, Gloucs, baker 2
5003453 2357905 2357905 defendant Walford Richard dyer 781524 781524 Walford, Richard, of Coventry, Warws, dyer 3
5003454 2357905 2357905 defendant Wade Robert dyer 596528 596528 Wade, Robert, of Wytney, Oxon, dyer 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 15.759ms