home / cp40x

names

8 rows where case_id = 2308919

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4841644 2308919 2308919 plaintiff Kirkham Robert     Kirkham, Robert 0
4841645 2308919 2308919 defendant Hamele Benedict husbandman 811043 811043 Hamele, Benedict, of Burges, husbandman 0
4841646 2308919 2308919 defendant Wilkyn John husbandman 811043 811043 Wilkyn, John, of Burges, husbandman 1
4841647 2308919 2308919 defendant Robyn Thomas husbandman 811044 811044 Robyn, Thomas, of Trevorak, husbandman 2
4841648 2308919 2308919 defendant Sogge Ralph husbandman 811045 811045 Sogge, Ralph, of Tregountrys, husbandman 3
4841649 2308919 2308919 defendant Logesek Nicholas   811046 811046 Logesek, Nicholas, of Logesek, franklin 4
4841650 2308919 2308919 defendant Tomme William husbandman 811047 811047 Tomme, William, of Egluscruke, husbandman 5
4841651 2308919 2308919 defendant Carthu Andrew husbandman 811048 811048 Carthu, Andrew, of Carthu, 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 16.972ms