home / cp40x

names

8 rows where case_id = 2301507

✎ 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
4817318 2301507 2301507 plaintiff Michell William (legal representative) 585869 585869 Michell, William, of London, grocer, executors of 0
4817319 2301507 2301507 plaintiff Petyt Thomas grocer 585869 585869 (Petyt, Thomas, of London, grocer 1
4817320 2301507 2301507 plaintiff Canynges Thomas grocer 585869 585869 Canynges, Thomas, of London, grocer 2
4817321 2301507 2301507 plaintiff Cateworth Thomas grocer 585869 585869 Cateworth, Thomas, of London, grocer 3
4817322 2301507 2301507 plaintiff Bothe William   806910 806910 Bothe, William, of grocer 4
4817323 2301507 2301507 defendant Grove John merchant 601889 601889 Grove, John, of Ipswich, Suff, merchant 0
4817324 2301507 2301507 defendant Stonham William merchant 651839 651839 Stonham, William, of Haddeley, Suff, merchant 1
4817325 2301507 2301507 defendant Criktet William esq 787269 787269 Criktet, William, of Wotton, Herefs, esq 2

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