home / cp40x

names

8 rows where case_id = 2315830

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4864351 2315830 2315830 plaintiff FitzHugh William knight   FitzHugh, William, knight 0
4864352 2315830 2315830 defendant Frank William gent 607366 607366 Frank, William, of Rychemond, gent 0
4864353 2315830 2315830 defendant Clargenet John husbandman 607366 607366 Clargenet, John, of Rychemond, husbandman 1
4864354 2315830 2315830 defendant Lucas Robert draper 607366 607366 together with Lucas, Robert, of Rychemond, draper 2
4864355 2315830 2315830 defendant Moreiour John   607366 607366 Moreiour, John, of Rychemond, parish clerk 3
4864356 2315830 2315830 defendant Nesse John weaver 607366 607366 Nesse, John, of Rychemond, weaver 4
4864357 2315830 2315830 defendant Cardmaker John   607366 607366 Cardmaker, John, of Rychemond, card maker 5
4864358 2315830 2315830 defendant Burgh Thomas cordwainer 607366 607366 Burgh, Thomas, of Rychemond, cordwainer 6

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.196ms