home / cp40x

names

8 rows where case_id = 2456958

✎ 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
5339593 2456958 2456958 plaintiff Michell John grocer 585869 585869 Michell, John, of London, grocer 0
5339594 2456958 2456958 defendant Sampson Thomas taverner 588081 588081 Sampson, Thomas, of Cambridge, taverner 0
5339595 2456958 2456958 defendant Lylly Robert husbandman 596830 596830 Lylly, Robert, of Rotherham, Yorks, husbandman 1
5339596 2456958 2456958 defendant Mountford John barber 586848 586848 Mountford, John, of Northampton, barber 2
5339597 2456958 2456958 defendant Waynwryght William (legal representative) 875217 875217 Waynwryght, William, of Ferebryg, husbandman, executors of 3
5339598 2456958 2456958 defendant Newton Thomas husbandman 875218 875218 (Newton, Thomas, of Ferebryg, Yorks, husbandman 4
5339599 2456958 2456958 defendant Basset Roger (legal representative) 585933 585933 Basset, Roger, of Great Yarmouth, innholder, executors of 5
5339600 2456958 2456958 defendant Brewes Robert gent 585933 585933 (Brewes, Robert, of Great Yarmouth, gent 6

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.291ms