home / cp40x

names

7 rows where case_id = 2216195

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4550826 2216195 2216195 plaintiff Derhurst John     Derhurst, John 0
4550827 2216195 2216195 defendant Alford John   586878 586878 Alford, John, of Teukesbury 0
4550828 2216195 2216195 defendant Sholle John   590628 590628 Sholle, John, of Tewkesbury 1
4550829 2216195 2216195 defendant Wyther John   586878 586878 Wyther, John, of Teukesbury 2
4550830 2216195 2216195 defendant Coldevyle Thomas   614416 614416 Coldevyle, Thomas, of Tredyngton 3
4550831 2216195 2216195 defendant Wyshonger John   586646 586646 Wyshonger, John, of Payneswyk 4
4550832 2216195 2216195 defendant Bailly Thomas   586878 586878 Bailly, Thomas, of Teukesbury 5

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.222ms