home / cp40x

names

9 rows where case_id = 2449040

✎ 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
5313372 2449040 2449040 plaintiff Bonham Walter esq   Bonham, Walter, esq 0
5313373 2449040 2449040 defendant Bendale John husbandman 755996 755996 Bendale, John, of Wroxhale, husbandman 0
5313374 2449040 2449040 defendant Hullokke John collier 609035 609035 Hullokke, John, of Portbury, collier 1
5313375 2449040 2449040 defendant Saunder John butcher 609035 609035 Saunder, John, of Portbury, butcher 2
5313376 2449040 2449040 defendant ap Jankyn John husbandman 609035 609035 ap Jankyn, John, of Portbury, husbandman 3
5313377 2449040 2449040 defendant Stanbrigge John husbandman 609035 609035 Stanbrigge, John, of Portbury, husbandman 4
5313378 2449040 2449040 defendant Rogers Richard butcher 609035 609035 Rogers, Richard, of Portbury, butcher 5
5313379 2449040 2449040 defendant Bisshop William husbandman 609035 609035 Bisshop, William, of Portbury, husbandman 6
5313380 2449040 2449040 defendant Blakehed James clerk 609035 609035 Blakehed, James, of Portbury, clerk 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 15.497ms