home / cp40x

names

7 rows where case_id = 2303180

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4822705 2303180 2303180 plaintiff Smyth William     Smyth, William, on his own account 0
4822706 2303180 2303180 defendant Leper John husbandman 653501 653501 Leper, John, of Oldeston, Gloucs, husbandman 0
4822707 2303180 2303180 defendant Swalwe William husbandman 807853 807853 Swalwe, William, of Oldeston, husbandman 1
4822708 2303180 2303180 defendant Puffe or Pusse John husbandman 807853 807853 Puffe or Pusse, John, of Oldeston, husbandman 2
4822709 2303180 2303180 defendant Hereman Thomas husbandman 807854 807854 Hereman, Thomas, of Radewyk, Gloucs, husbandman 3
4822710 2303180 2303180 defendant Robyns Nicholas husbandman 807855 807855 Robyns, Nicholas, of Northewyk, Gloucs, husbandman 4
4822711 2303180 2303180 defendant Shepeherd Nicholas husbandman 807856 807856 Shepeherd, Nicholas, of Radewyk, husbandman 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 16.688ms