home / cp40x

names

9 rows where case_id = 2244466

✎ 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
4644457 2244466 2244466 plaintiff Lynne Richard tailor 585869 585869 Lynne, Richard, of London, tailor 0
4644458 2244466 2244466 defendant Grene Andrew   624085 624085 Grene, Andrew, of Dorset 0
4644459 2244466 2244466 defendant Grene William tailor 585869 585869 Grene, William, of London, tailor 1
4644460 2244466 2244466 defendant Morby John chaplain 612968 612968 Morby, John, of Yorkshire, chaplain 2
4644461 2244466 2244466 defendant Banthorp Alan esq   Banthorp, Alan, esq 3
4644462 2244466 2244466 defendant Hille William tailor 585869 585869 Hille, William, of London, tailor 4
4644463 2244466 2244466 defendant Pynman Robert   754521 754521 Pynman, Robert, of Berkshire 5
4644464 2244466 2244466 defendant Brewer John sometime dwellling with Thomas, sometime the earl of Kent   Brewer, John, sometime dwellling with Thomas, sometime the earl of Kent 6
4644465 2244466 2244466 defendant Grenefeld Richard esq   Grenefeld, Richard, esq 7

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