home / cp40x

names

6 rows where case_id = 2533051

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5593811 2533051 2533051 plaintiff at Rydyng John     at Rydyng, John 0
5593812 2533051 2533051 defendant Wyllys Stephen butcher 597270 597270 Wyllys, Stephen, of Chalfount St Peter, butcher 0
5593813 2533051 2533051 defendant Bygell Richard husbandman 590270 590270 Bygell, Richard, of Agmondesham, husbandman 1
5593814 2533051 2533051 defendant Bayly Thomas husbandman 647540 647540 Bayly, Thomas, of Hugeley, husbandman 2
5593815 2533051 2533051 defendant Albery William (legal representative)   Albery, William, executrix of 3
5593816 2533051 2533051 defendant Albery Joan widow 860487 860487 Albery, Joan, of Bekonesfeld, widow 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 6.492ms