home / cp40x

names

7 rows where case_id = 2376057

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5064971 2376057 2376057 plaintiff Leycestre John   611755 611755 Leycestre, John, of Surrey 0
5064972 2376057 2376057 defendant Carrewe Nicholas   600375 600375 Carrewe, Nicholas, of Benyngton, Surrey, esq, sheriff of Surrey 0
5064973 2376057 2376057 defendant Cok Thomas husbandman 592873 592873 Cok, Thomas, of Cressalton, husbandman 1
5064974 2376057 2376057 defendant Prynce William gent 586179 586179 Prynce, William, of Croydon, Surrey, gent 2
5064975 2376057 2376057 defendant Cok John cordwainer 592873 592873 Cok, John, of Cressalton, cordwainer 3
5064976 2376057 2376057 defendant Broker John fuller 592873 592873 Broker, John, of Cressalton, fuller 4
5064977 2376057 2376057 defendant Vyncent John yeoman 646334 646334 Vyncent, John, of Maldon, Surrey, yeoman 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 16.659ms