home / cp40x

names

6 rows where case_id = 1931230

✎ 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
3715804 1931230 1931230 plaintiff Canon John   591127 591127 Canon, John, of Elsyng 0
3715805 1931230 1931230 defendant Bullyng Thomas husbandman 591127 591127 Bullyng, Thomas, of Elsyng, husbandman 0
3715806 1931230 1931230 defendant Estwyk Robert   662623 662623 Estwyk, Robert, of Belawe, minstrel 1
3715807 1931230 1931230 defendant Burry John husbandman 588849 588849 Burry, John, of North Tudenham, husbandman 2
3715808 1931230 1931230 defendant Pyllett Walter husbandman 586524 586524 Pyllett, Walter, of Swanton Morley, husbandman 3
3715809 1931230 1931230 defendant Thurston Brian laborer 586524 586524 Thurston, Brian, of Swanton Morley, laborer 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 12.792ms