home / cp40x

names

8 rows where case_id = 2439546

✎ 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
5281090 2439546 2439546 plaintiff Coblegh John     Coblegh, John 0
5281091 2439546 2439546 defendant Potter John husbandman 590114 590114 Potter, John, of Boryngton, husbandman 0
5281092 2439546 2439546 defendant Bragge William husbandman 590114 590114 Bragge, William, of Boryngton, husbandman 1
5281093 2439546 2439546 defendant Stoddon William husbandman 590114 590114 Stoddon, William, of Boryngton, husbandman 2
5281094 2439546 2439546 defendant Cowele John turner 590114 590114 Cowele, John, of Boryngton, turner 3
5281095 2439546 2439546 defendant Martyn John, junior laborer 679151 679151 Martyn, John, junior, of Fyllegh, laborer 4
5281096 2439546 2439546 defendant Whitelokke William husbandman 679151 679151 Whitelokke, William, of Fyllegh, husbandman 5
5281097 2439546 2439546 defendant Neucombe John   792643 792643 Neucombe, John, of Sampford Courtenay, mason 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 11.149ms