home / cp40x

names

8 rows where case_id = 2517113

✎ 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
5540356 2517113 2517113 plaintiff Helyard Henry esq   Helyard, Henry, esq 0
5540357 2517113 2517113 defendant Wasworth John husbandman 640355 640355 Wasworth, John, of Otryngham, husbandman 0
5540358 2517113 2517113 defendant Frowe Richard husbandman 640355 640355 Frowe, Richard, of Otryngham, husbandman 1
5540359 2517113 2517113 defendant Smyth John husbandman 640355 640355 Smyth, John, of Otryngham, husbandman 2
5540360 2517113 2517113 defendant Brante John husbandman 897937 897937 Brante, John, of Otryngham Mersshe, husbandman 3
5540361 2517113 2517113 defendant Wynle William fowler 897937 897937 Wynle, William, of Otryngham Mersshe, fowler 4
5540362 2517113 2517113 defendant Thomson Thomas yeoman 897938 897938 Thomson, Thomas, of Welwykethorp, yeoman 5
5540363 2517113 2517113 defendant Wylson John shoemaker 593142 593142 Wylson, John, of Tunstall, shoemaker 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 14.187ms