home / cp40x

names

8 rows where case_id = 2409221

✎ 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
5177836 2409221 2409221 plaintiff Acclom John esq   Acclom, John, esq 0
5177837 2409221 2409221 defendant Whynfeld John gent 632496 632496 Whynfeld, John, of Wresyll, gent 0
5177838 2409221 2409221 defendant Thyrlwall Richard gent 632496 632496 Thyrlwall, Richard, of Wresyll, gent 1
5177839 2409221 2409221 defendant Wyghtman Nicholas yeoman 632496 632496 Wyghtman, Nicholas, of Wresyll, yeoman 2
5177840 2409221 2409221 defendant Warthell William husbandman 592147 592147 Warthell, William, of Neuton, husbandman 3
5177841 2409221 2409221 defendant Warthell John yeoman 592147 592147 Warthell, John, of Neuton, yeoman 4
5177842 2409221 2409221 defendant Shipley William yeoman 600323 600323 Shipley, William, of Ellerton, yeoman 5
5177843 2409221 2409221 defendant Pukeryng Thomas   601838 601838 Pukeryng, Thomas, of Fynmer 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 13.451ms