home / cp40x

names

7 rows where case_id = 2444374

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5297832 2444374 2444374 plaintiff Astlay Thomas     Astlay, Thomas 0
5297833 2444374 2444374 defendant Richardson William yeoman 870077 870077 Richardson, William, of Laxton, by Hoveden, yeoman 0
5297834 2444374 2444374 defendant Kirton John husbandman 870078 870078 Kirton, John, of Arous by Wyghton, husbandman 1
5297835 2444374 2444374 defendant Nelson Robert husbandman 870079 870079 Nelson, Robert, of Skelton by Hoveden, husbandman 2
5297836 2444374 2444374 defendant Barnell William husbandman 870080 870080 Barnell, William, of Knedlyngton by Hoveden, husbandman 3
5297837 2444374 2444374 defendant Robynson William shipman 632690 632690 Robynson, William, of Whytgyft, shipman 4
5297838 2444374 2444374 defendant Nesse Thomas yeoman 870081 870081 Nesse, Thomas, of Neshouse, in Drax, yeoman 5

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.997ms