home / cp40x

names

7 rows where case_id = 1972739

✎ 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
3847370 1972739 1972739 plaintiff Haselgreve Thomas     Haselgreve, Thomas 0
3847371 1972739 1972739 plaintiff Odam Thomas churchwardens of Duffeld St Mary   Odam, Thomas, churchwardens of Duffeld St Mary 1
3847372 1972739 1972739 defendant Pylkyngton William carpenter 639179 639179 Pylkyngton, William, of Makeney, carpenter 0
3847373 1972739 1972739 defendant Yate Oliver husbandman 639179 639179 Yate, Oliver, of Makeney, husbandman 1
3847374 1972739 1972739 defendant Orchard John fuller 639180 639180 Orchard, John, of Wendley, fuller 2
3847375 1972739 1972739 defendant Ive John laborer 589994 589994 Ive, John, of Duffeld, laborer 3
3847376 1972739 1972739 defendant Doley Richard laborer 589994 589994 Doley, Richard, of Duffeld, laborer 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 16.315ms