home / cp40x

names

6 rows where case_id = 2250406

✎ 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
4664593 2250406 2250406 plaintiff Haryngton Thomas esq   Haryngton, Thomas, esq 0
4664594 2250406 2250406 defendant Draper William yeoman 590755 590755 Draper, William, of Howes, yeoman 0
4664595 2250406 2250406 defendant (not given) John his son, yeoman   John his son, of Howes, yeoman 1
4664596 2250406 2250406 defendant Valey Robert shoemaker 586901 586901 Valey, Robert, of Nottingham, shoemaker 2
4664597 2250406 2250406 defendant Gentell Robert shoemaker 586901 586901 Gentell, Robert, of Nottingham, shoemaker 3
4664598 2250406 2250406 defendant Saxondall Thomas yeoman 779881 779881 Saxondall, Thomas, of Thorlaton, Notts, 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 14.572ms