home / cp40x

names

6 rows where case_id = 1992950

✎ 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
3907948 1992950 1992950 plaintiff Porter Bartholomew     Porter, Bartholomew 0
3907949 1992950 1992950 defendant Bayll Bartholomew tailor 634345 634345 Bayll, Bartholomew, of Trowes juxta Norwich, tailor 0
3907950 1992950 1992950 defendant Turnour James husbandman 619304 619304 Turnour, James, of Drynkeston, Suff, husbandman 1
3907951 1992950 1992950 defendant Walter John husbandman 609888 609888 Walter, John, of Bokenham, husbandman 2
3907952 1992950 1992950 defendant Tanne William husbandman 586664 586664 Tanne, William, of Kymberley, husbandman 3
3907953 1992950 1992950 defendant Isak John husbandman 594908 594908 Isak, John, of Ovyngton, 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 12.166ms