home / cp40x

names

7 rows where case_id = 2425730

✎ 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
5234679 2425730 2425730 plaintiff Crome Nicholas     Crome, Nicholas 0
5234680 2425730 2425730 defendant Bytom John clerk 634328 634328 Bytom, John, of Whytewell, clerk 0
5234681 2425730 2425730 defendant Hull John, junior yeoman 594582 594582 Hull, John, junior, of Whitewell, yeoman 1
5234682 2425730 2425730 defendant Nicoll Thomas laborer 594582 594582 Nicoll, Thomas, of Whitewell, laborer 2
5234683 2425730 2425730 defendant Egmere Roger thatcher 594582 594582 Egmere, Roger, of Whitewell, thatcher 3
5234684 2425730 2425730 defendant Wykkes William laborer 594582 594582 Wykkes, William, of Whitewell, laborer 4
5234685 2425730 2425730 defendant Redenhale John laborer 594582 594582 Redenhale, John, of Whitewell, laborer 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.505ms