home / cp40x

names

7 rows where case_id = 2493309

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5461249 2493309 2493309 plaintiff Meres Thomas esq   Meres, Thomas, esq 0
5461250 2493309 2493309 defendant Peerson John husbandman 768024 768024 Peerson, John, of Quadyng, husbandman 0
5461251 2493309 2493309 defendant Smyth Christopher husbandman 589594 589594 Smyth, Christopher, of Quadryng, husbandman 1
5461252 2493309 2493309 defendant Alege Richard, sen husbandman 589594 589594 Alege, Richard, sen, of Quadryng, husbandman 2
5461253 2493309 2493309 defendant Skylton John yeoman 586287 586287 Skylton, John, of Horsyngton, yeoman 3
5461254 2493309 2493309 defendant Grene William, sen husbandman 589594 589594 Grene, William, sen, of Quadryng, husbandman 4
5461255 2493309 2493309 defendant Grene William jun, of Quadryng, husbandman   Grene, William, jun, of Quadryng, husbandman 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 12.478ms