home / cp40x

names

6 rows where case_id = 2458052

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5343160 2458052 2458052 plaintiff Snareston Thomas, senior     Snareston, Thomas, senior 0
5343161 2458052 2458052 defendant Edmondton alias Williamson John parson of Duxworth St Peter   Edmondton alias Williamson, John, parson of Duxworth St Peter 0
5343162 2458052 2458052 defendant Shemyng Richard yeoman 592174 592174 Shemyng, Richard, of Chepyng Walden, Essex, yeoman 1
5343163 2458052 2458052 defendant Gybson Richard yeoman 609611 609611 Gybson, Richard, of Parva Walden, Essex, yeoman 2
5343164 2458052 2458052 defendant Sharp John chapman 875598 875598 Sharp, John, of Neweport Pond, Essex, chapman 3
5343165 2458052 2458052 defendant Rede John husbandman 875599 875599 Rede, John, of Neweport Pond, husbandman 4

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 14.533ms