home / cp40x

names

6 rows where place_id = 801755

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4783027 2290709 2290709 defendant Mileton William gent 801755 801755 Mileton, William, of Allerford, gent 1
4809184 2299048 2299048 defendant Horne John smith 801755 801755 Horne, John, of Allerford, smith 0
4837123 2307564 2307564 defendant Bartelot William husbandman 801755 801755 Bartelot, William, of Allerford, husbandman 0
4837124 2307564 2307564 defendant Bartelot John laborer 801755 801755 Bartelot, John, of Allerford, laborer 1
5011329 2360176 2360176 defendant Bertlot William husbandman 801755 801755 Bertlot, William, of Allerford, husbandman 0
5309135 2447770 2447770 defendant Stoddon William yeoman 801755 801755 Stoddon, William, of Allerford, yeoman 1

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