home / cp40x

names

5 rows where case_id = 2348491

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4971795 2348491 2348491 plaintiff Hyham John (legal representative) 585869 585869 Hyham, John, of London, draper, executors of 0
4971796 2348491 2348491 plaintiff Langley John mercer   (Langley, John, mercer 1
4971797 2348491 2348491 plaintiff Clerk Thomas scrivener of writs, Court of London   Clerk, Thomas, scrivener of writs, Court of London 2
4971798 2348491 2348491 defendant Curteys Alice widow 753386 753386 Curteys, Alice, of Branketre, widow 0
4971799 2348491 2348491 defendant Millere John husbandman 594483 594483 Millere, John, of Wakeryng, husbandman 1

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 13.036ms