home / cp40x

names

8 rows where place_id = 670004

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3995275 2023050 2023050 plaintiff Cottyngham John   670004 670004 Cottyngham, John, of Crostwick 0
4190469 2092220 2092220 defendant Walgrave Kenelm thatcher 670004 670004 Walgrave, Kenelm, of Crostwick, thatcher 1
4230734 2106248 2106248 defendant Comfort Robert husbandman 670004 670004 Comfort, Robert, of Crostwick, husbandman 0
4255444 2114815 2114815 defendant Grene William beer brewer 670004 670004 Grene, William, of Crostwick, beer brewer 1
4258897 2115948 2115948 defendant Walgrave Lionel thatcher 670004 670004 Walgrave, Lionel, of Crostwick, thatcher 1
4261921 2116938 2116938 defendant Funnell Thomas husbandman 670004 670004 Funnell, Thomas, of Crostwick, husbandman 3
4291776 2127135 2127135 defendant Funnell Thomas husbandman 670004 670004 Funnell, Thomas, of Crostwick, husbandman 1
4353073 2148302 2148302 defendant Funnell Thomas husbandman 670004 670004 Funnell, Thomas, of Crostwick, husbandman 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 13.637ms