home / cp40x

names

6 rows where case_id = 2302739

✎ 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
4821285 2302739 2302739 plaintiff Roos Margaret de     Roos, Margaret de 0
4821286 2302739 2302739 defendant Grey Thomas gent 807623 807623 Grey, Thomas, of Berton in Rydale, gent 0
4821287 2302739 2302739 defendant Baker William yeoman 757417 757417 Baker, William, of hilderskelf, yeoman 1
4821288 2302739 2302739 defendant Potter Robert yeoman 757417 757417 Potter, Robert, of Hilderskelf, yeoman 2
4821289 2302739 2302739 defendant Kydde John yeoman 807624 807624 Kydde, John, of Cunesthorp, yeoman 3
4821290 2302739 2302739 defendant Barbour John yeoman 807624 807624 Barbour, John, of Cunesthorp, yeoman 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 17.502ms