home / cp40x

names

6 rows where case_id = 2428119

✎ 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
5242873 2428119 2428119 plaintiff Mundy John     Mundy, John 0
5242874 2428119 2428119 defendant Were John laborer 671849 671849 Were, John, of Stratford Subcastle, laborer 0
5242875 2428119 2428119 defendant Hayward John husbandman 615925 615925 Hayward, John, of Hele, husbandman 1
5242876 2428119 2428119 defendant Hykkes Thomas laborer 863335 863335 Hykkes, Thomas, of Magna Wodeford, laborer 2
5242877 2428119 2428119 defendant Coffyn Peter husbandman 597341 597341 Coffyn, Peter, of Wynterbornestoke, husbandman 3
5242878 2428119 2428119 defendant Galyot William husbandman 814067 814067 Galyot, William, of Anneport, Hants, 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 16.201ms