home / cp40x

names

5 rows where case_id = 2529850

✎ 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
5583304 2529850 2529850 plaintiff Foyce Richard     Foyce, Richard 0
5583305 2529850 2529850 defendant Avery John husbandman 595899 595899 Avery, John, of Suthwyk, husbandman 0
5583306 2529850 2529850 defendant Dubbyng John husbandman 645542 645542 Dubbyng, John, of New Shorham, husbandman 1
5583307 2529850 2529850 defendant Tounley William tailor 902720 902720 Tounley, William, of Perpoundhurst, tailor 2
5583308 2529850 2529850 defendant Carter Robert bricklayer 588918 588918 Carter, Robert, of Petworth, bricklayer 3

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