home / cp40x

names

8 rows where case_id = 2322477

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4885970 2322477 2322477 plaintiff Oxpryng Richard     Oxpryng, Richard 0
4885971 2322477 2322477 defendant Ryche William, senior husbandman 592530 592530 Ryche, William, senior, of Thurleston, husbandman 0
4885972 2322477 2322477 defendant Smyth Thomas ironmonger 817366 817366 Smyth, Thomas, of Ferifeld, ironmonger 1
4885973 2322477 2322477 defendant Smyth Thomas husbandman 650100 650100 Smyth, Thomas, of Wykersley, husbandman 2
4885974 2322477 2322477 defendant Halle Robert husbandman 635910 635910 Halle, Robert, of Darton, husbandman 3
4885975 2322477 2322477 defendant Marchall John smith 744165 744165 Marchall, John, of Bernesley, smith 4
4885976 2322477 2322477 defendant Marchall Richard tailor 744165 744165 Marchall, Richard, of Bernesley, tailor 5
4885977 2322477 2322477 defendant Webster Richard husbandman 817367 817367 Webster, Richard, of Oxpryng, husbandman 6

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 17.12ms