home / cp40x

names

9 rows where case_id = 2215432

✎ 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
4548376 2215432 2215432 plaintiff Child John   586011 586011 Child, John, of Northwyk 0
4548377 2215432 2215432 defendant Preston John   586397 586397 Preston, John, of Morton 0
4548378 2215432 2215432 defendant Hubard John   586397 586397 Hubard, John, of Morton 1
4548379 2215432 2215432 defendant Rogers John   586397 586397 Rogers, John, of Morton 2
4548380 2215432 2215432 defendant Bury John   586397 586397 Bury, John, of Morton 3
4548381 2215432 2215432 defendant Persones John   586397 586397 Persones, John, of Morton 4
4548382 2215432 2215432 defendant Smyth Walter   586397 586397 Smyth, Walter, of Morton 5
4548383 2215432 2215432 defendant Frensshe John   586397 586397 Frensshe, John, of Morton 6
4548384 2215432 2215432 defendant Huwet John   620888 620888 Huwet, 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 6.687ms