home / cp40x

names

6 rows where case_id = 2423234

✎ 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
5225846 2423234 2423234 plaintiff Slynge William     Slynge, William 0
5225847 2423234 2423234 defendant Crippes Robert   766959 766959 Crippes, Robert, of Foulnesse, "herd" 0
5225848 2423234 2423234 defendant Wyncent John   761841 761841 Wyncent, John, of Canewedon, "herd" 1
5225849 2423234 2423234 defendant Fulham Walter husbandman 593684 593684 Fulham, Walter, of Raylegh, husbandman 2
5225850 2423234 2423234 defendant Dawe Thomas husbandman 589615 589615 Dawe, Thomas, of Raurith, husbandman 3
5225851 2423234 2423234 defendant Bernes William husbandman 861402 861402 Bernes, William, of Parva Hokley, 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 15.487ms