home / cp40x

names

9 rows where case_id = 2215431

✎ 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
4548367 2215431 2215431 plaintiff Child John   586011 586011 Child, John, of Northwyk 0
4548368 2215431 2215431 defendant Preston John   586397 586397 Preston, John, of Morton 0
4548369 2215431 2215431 defendant Hubard John   586397 586397 Hubard, John, of Morton 1
4548370 2215431 2215431 defendant Rogers John   586397 586397 Rogers, John, of Morton 2
4548371 2215431 2215431 defendant Bury John   586397 586397 Bury, John, of Morton 3
4548372 2215431 2215431 defendant Persones John   586397 586397 Persones, John, of Morton 4
4548373 2215431 2215431 defendant Smyth Walter   586397 586397 Smyth, Walter, of Morton 5
4548374 2215431 2215431 defendant Frensshe John   586397 586397 Frensshe, John, of Morton 6
4548375 2215431 2215431 defendant Hudwet John   620888 620888 Hudwet, John, of Bourton 7

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