home / cp40x

names

7 rows where case_id = 2410100

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5180712 2410100 2410100 plaintiff Broughton John     Broughton, John 0
5180713 2410100 2410100 defendant Boynon John laborer 587327 587327 Boynon, John, of Eton, laborer 0
5180714 2410100 2410100 defendant Boynon Roger tailor 662433 662433 Boynon, Roger, of Stanbridge, tailor 1
5180715 2410100 2410100 defendant Savage Richard husbandman 766173 766173 Savage, Richard, of Leighton Buzzard, husbandman 2
5180716 2410100 2410100 defendant Gaddesden Henry yeoman 766173 766173 Gaddesden, Henry, of Leighton Buzzard, yeoman 3
5180717 2410100 2410100 defendant Bray John   611105 611105 Bray, John, of Chalton, servant 4
5180718 2410100 2410100 defendant Haglake John   856689 856689 together with Haglake, John, of Stanbridge, carpente 5

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