home / cp40x

names

8 rows where case_id = 2293027

✎ 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
4790226 2293027 2293027 plaintiff Kirkby Henry     Kirkby, Henry 0
4790227 2293027 2293027 defendant Persay John gent 606186 606186 Persay, John, of Ryton, gent 0
4790228 2293027 2293027 defendant Persay George gent 606186 606186 Persay, George, of Ryton, gent 1
4790229 2293027 2293027 defendant Broun William yeoman 606186 606186 Broun, William, of Ryton, yeoman 2
4790230 2293027 2293027 defendant Herryson Thomas husbandman 758517 758517 Herryson, Thomas, of Rillyngton, husbandman 3
4790231 2293027 2293027 defendant Fawedre William butcher 767751 767751 Fawedre, William, of Malton in Rydale, butcher 4
4790232 2293027 2293027 defendant Tynke John smith 780151 780151 Tynke, John, of Thornton in Pykerynglythe, smith 5
4790233 2293027 2293027 defendant Wardale John prior of of Malton in Rydale   together with Wardale, John, prior of of Malton in Rydale 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 15.046ms