home / cp40x

names

6 rows where case_id = 2312327

✎ 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
4852897 2312327 2312327 plaintiff Westwode Roger master or warden of St Mary's hospital 812909 812909 Westwode, Roger, of Rouncevall, master or warden of St Mary's hospital 0
4852898 2312327 2312327 defendant Weresley Thomas   657362 657362 Weresley, Thomas, of Canwedon, vicar 0
4852899 2312327 2312327 defendant Baryngton John of Canwedon gent   Baryngton, John of Canwedon, gent 1
4852900 2312327 2312327 defendant Pogh_das John husbandman 657362 657362 Pogh_das, John, of Canwedon, husbandman 2
4852901 2312327 2312327 defendant Castelen Walter husbandman 657362 657362 Castelen, Walter, of Canwedon, husbandman 3
4852902 2312327 2312327 defendant Twete John husbandman 812911 812911 Twete, John, of Assyngdon, 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.661ms