home / cp40x

names

6 rows where case_id = 2525365

✎ 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
5568592 2525365 2525365 plaintiff Frechvyle John esq   Frechvyle, John, esq 0
5568593 2525365 2525365 defendant Parcell Thomas yeoman 593336 593336 Parcell, Thomas, of Staveley or Staneley, yeoman 0
5568594 2525365 2525365 defendant Stafford John smithman 593579 593579 Stafford, John, of Staveley, smithman 1
5568595 2525365 2525365 defendant Shentall Robert smithman 593579 593579 Shentall, Robert, of Staveley, smithman 2
5568596 2525365 2525365 defendant Shentall William smithman 593579 593579 Shentall, William, of Staveley, smithman 3
5568597 2525365 2525365 defendant Hasilherst George smithman 593579 593579 Hasilherst, George, of Staveley, smithman 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.212ms