home / cp40x

names

8 rows where case_id = 2502122

✎ 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
5490738 2502122 2502122 plaintiff Brampton Thomas     Brampton, Thomas 0
5490739 2502122 2502122 defendant Wattys Alan   586471 586471 Wattys, Alan, of Aylesham 0
5490740 2502122 2502122 defendant Emondes William husbandman 586471 586471 Emondes, William, of Aylesham, husbandman 1
5490741 2502122 2502122 defendant Bache William husbandman 586882 586882 Bache, William, of Betele, husbandman 2
5490742 2502122 2502122 defendant Batche Simon husbandman 586882 586882 Batche, Simon, of Betele, husbandman 3
5490743 2502122 2502122 defendant Goddyng Edward draper 587167 587167 Goddyng, Edward, of Parva Walsyngham, draper 4
5490744 2502122 2502122 defendant Nicolson John husbandman 587716 587716 Nicolson, John, of Hecham, husbandman 5
5490745 2502122 2502122 defendant Neweman William husbandman 595014 595014 Neweman, William, of South Reppys, 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 13.518ms