home / cp40x

names

6 rows where case_id = 2391898

✎ 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
5118692 2391898 2391898 plaintiff Rowe William     Rowe, William 0
5118693 2391898 2391898 defendant Wate Roger husbandman 848509 848509 Wate, Roger, of Clevar, husbandman 0
5118694 2391898 2391898 defendant Garston John husbandman 640328 640328 Garston, John, of Old Wyndesore, husbandman 1
5118695 2391898 2391898 defendant Clyfford Thomas   673083 673083 Clyfford, Thomas, of New Wyndesore, talor 2
5118696 2391898 2391898 defendant Bythewode Wiliam husbandman 589712 589712 Bythewode, Wiliam, of New Wyndesore, husbandman 3
5118697 2391898 2391898 defendant Bynfeld Thomas husbandman 766626 766626 Bynfeld, Thomas, of Wynfeld, husbandman 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.683ms