home / cp40x

names

8 rows where case_id = 2386390

✎ 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
5099829 2386390 2386390 plaintiff Wodford John     Wodford, John 0
5099830 2386390 2386390 defendant Palmer Richard husbandman 846300 846300 Palmer, Richard, of Asshby Folvyll, husbandman 0
5099831 2386390 2386390 defendant Priours Robert husbandman 846300 846300 Priours, Robert, of Asshby Folvyll, husbandman 1
5099832 2386390 2386390 defendant Porter Robert husbandman 846300 846300 Porter, Robert, of Asshby Folvyll, husbandman 2
5099833 2386390 2386390 defendant Loveles Robert vicar of Bukmynstre   Loveles, Robert, vicar of Bukmynstre 3
5099834 2386390 2386390 defendant Derby William vicar of Garthorp   Derby, William, vicar of Garthorp 4
5099835 2386390 2386390 defendant Blak Ralph husbandman 627571 627571 Blak, Ralph, of Gaddesby, husbandman 5
5099836 2386390 2386390 defendant Nicoll John husbandman 627571 627571 Nicoll, John, of Gaddesby, husbandman 6

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