home / cp40x

names

6 rows where case_id = 2374843

✎ 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
5060938 2374843 2374843 plaintiff Gayton Robert grocer 585869 585869 Gayton, Robert, of London, grocer 0
5060939 2374843 2374843 defendant Lambe William dyer 586848 586848 Lambe, William, of Northampton, dyer 0
5060940 2374843 2374843 defendant Harpcote John hosteler 813787 813787 Harpcote, John, of Kydermynster, Worcs, hosteler 1
5060941 2374843 2374843 defendant Atkyns John, junior dyer 602195 602195 Atkyns, John, junior, of Tewkesbury, Glos, dyer 2
5060942 2374843 2374843 defendant Dawes John dyer 586848 586848 Dawes, John, of Northampton, dyer 3
5060943 2374843 2374843 defendant Stylar John dyer 623752 623752 Stylar, John, of Sturbrigge, Worcs, 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 16.679ms