home / cp40x

names

9 rows where case_id = 2487551

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5442071 2487551 2487551 plaintiff Banyard Margaret (legal representative) 589013 589013 Banyard, Margaret, of Bury, widow, executors of 0
5442072 2487551 2487551 plaintiff Duke Thomas esq   (Duke, Thomas, esq 1
5442073 2487551 2487551 plaintiff Leyre William     Leyre, William 2
5442074 2487551 2487551 plaintiff Gouty John     Gouty, John 3
5442075 2487551 2487551 defendant Duke Robert husbandman 887910 887910 Duke, Robert, of Wesele, husbandman 0
5442076 2487551 2487551 defendant Duke Richard husbandman 601762 601762 Duke, Richard, of Saxham, husbandman 1
5442077 2487551 2487551 defendant D_ John husbandman 608371 608371 D_, John, of Westle, husbandman 2
5442078 2487551 2487551 defendant Byrd John, junior husbandman 608371 608371 Byrd, John, junior, of Westle, husbandman 3
5442079 2487551 2487551 defendant Staunton Richard husbandman 608371 608371 Staunton, Richard, of Westle, 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 17.001ms