home / cp40x

names

7 rows where case_id = 1961791

✎ 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
3812477 1961791 1961791 plaintiff Cowley Thomas     Cowley, Thomas 0
3812478 1961791 1961791 defendant Wartore Thomas, senior chapman 602384 602384 Wartore, Thomas, senior, of Forde, chapman 0
3812479 1961791 1961791 defendant Wartore Thomas, junior chapman 602384 602384 Wartore, Thomas, junior, of Forde, chapman 1
3812480 1961791 1961791 defendant ap Gytten John ap Evan chapman 633389 633389 ap Gytten, John ap Evan, of Frankton, chapman 2
3812481 1961791 1961791 defendant Cokkys John yeoman 586060 586060 Cokkys, John, of Enfeld, yeoman 3
3812482 1961791 1961791 defendant Corbet Thomas gent 633390 633390 Corbet, Thomas, of Shropshire, gent 4
3812483 1961791 1961791 defendant Grene Richard butcher 604822 604822 Grene, Richard, of Wolvernehampton, butcher 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 13.835ms