home / cp40x

names

6 rows where case_id = 1977328

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3861559 1977328 1977328 plaintiff Freculton Nicholas yeoman 587956 587956 Freculton, Nicholas, of Byrton, yeoman 0
3861560 1977328 1977328 defendant Busche John merchant of the staple 631585 631585 Busche, John, of Norlache, Glos, merchant of the staple 0
3861561 1977328 1977328 defendant Mylward John   645688 645688 Mylward, John, of Norlache, wool winder 1
3861562 1977328 1977328 defendant Worsley Leonard gent 599673 599673 Worsley, Leonard, of Chepyng Kyngton, gent 2
3861563 1977328 1977328 defendant Freman William husbandman 641437 641437 Freman, William, of Byshopys Ithyngdon, husbandman 3
3861564 1977328 1977328 defendant Smarte Thomas husbandman 641438 641438 Smarte, Thomas, of Tysewe, husbandman 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 15.094ms