home / cp40x

names

8 rows where case_id = 1871818

✎ 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
3613331 1871818 1871818 plaintiff Bagworth Martin son of Bagworth, Robert, merchant of the staple   Bagworth, Martin, son of Bagworth, Robert, merchant of the staple 0
3613332 1871818 1871818 plaintiff Constable Robert sergeant at law   Constable, Robert, sergeant at law 1
3613333 1871818 1871818 plaintiff Higham Richard sergeant at law   Higham, Richard, sergeant at law 2
3613334 1871818 1871818 plaintiff Hawete James esq   Hawete, James, esq 3
3613335 1871818 1871818 plaintiff Penryce John barber 585869 585869 Penryce, John, of London, barber 4
3613336 1871818 1871818 plaintiff Smyth William joiner 585869 585869 Smyth, William, of London, joiner 5
3613337 1871818 1871818 defendant Bery John husbandman 587961 587961 Bery, John, of Elyng, husbandman 0
3613338 1871818 1871818 defendant Pynnok John waterman 587961 587961 Pynnok, John, of Elyng, waterman 1

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 21.763ms