home / cp40x

names

6 rows where case_id = 2386108

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5098890 2386108 2386108 plaintiff Waryn William     Waryn, William 0
5098891 2386108 2386108 defendant Robynet John husbandman 846191 846191 Robynet, John, of Wytelysford, husbandman 0
5098892 2386108 2386108 defendant Abell John husbandman 610637 610637 Abell, John, of Waterbeche, husbandman 1
5098893 2386108 2386108 defendant Theccher Thomas husbandman 610637 610637 Theccher, Thomas, of Waterbeche, husbandman 2
5098894 2386108 2386108 defendant Holyman John husbandman 842573 842573 Holyman, John, of Lanbeche, husbandman 3
5098895 2386108 2386108 defendant Sulman John husbandman 590930 590930 Sulman, John, of Magna Shelford, 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 12.089ms