home / cp40x

names

8 rows where case_id = 2356536

✎ 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
4998829 2356536 2356536 plaintiff Kyme Thomas     Kyme, Thomas 0
4998830 2356536 2356536 defendant Gybson John fishmonger 597124 597124 Gybson, John, of Waynflete, fishmonger 0
4998831 2356536 2356536 defendant Hurry John laborer 587149 587149 Hurry, John, of Fryskeney, laborer 1
4998832 2356536 2356536 defendant Freston John panyer man 597124 597124 Freston, John, of Waynflete, panyer man 2
4998833 2356536 2356536 defendant Mille Joan widow 597124 597124 Mille, Joan, of Waynflete, widow 3
4998834 2356536 2356536 defendant Groce Simon carpenter 597124 597124 Groce, Simon, of Waynflete, carpenter 4
4998835 2356536 2356536 defendant Broughton Thomas laborer 597124 597124 Broughton, Thomas, of Waynflete, laborer 5
4998836 2356536 2356536 defendant Allotson William fishmonger 597124 597124 Allotson, William, of Waynflete, fishmonger 6

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.809ms