home / cp40x

names

6 rows where case_id = 2017825

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3980598 2017825 2017825 plaintiff Philpott Nicholas grocer 585925 585925 Philpott, Nicholas, of Bristol, grocer 0
3980599 2017825 2017825 defendant ap William Morgan yeoman 666279 666279 ap William, Morgan, of Newcastell, Glamorgan, yeoman 0
3980600 2017825 2017825 defendant ap William Gryffun or Gryffythe, of Clemenston, Glamorgan, yeoman   ap William, Gryffun, or Gryffythe, of Clemenston, Glamorgan, yeoman 1
3980601 2017825 2017825 defendant ap rees Jenkin yeoman 666330 666330 ap rees, Jenkin, of Llangmor, Glos, yeoman 2
3980602 2017825 2017825 defendant Wilcock John yeoman 666282 666282 Wilcock, John, of Goston, Glamorgan, yeoman 3
3980603 2017825 2017825 defendant ap Gwellem Howell ap Jevan yeoman 666331 666331 ap Gwellem, Howell ap Jevan, of Llanydlled, Glamorgan, 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 7.034ms