home / cp40x

names

6 rows where place_id = 678789

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4033131 2036497 2036497 defendant Sendall Robert yeoman 678789 678789 Sendall, Robert, of Saule, yeoman 0
4161382 2082061 2082061 defendant Moore Edmund cordwainer 678789 678789 Moore, Edmund, of Saule , cordwainer 0
4161383 2082061 2082061 defendant Waller Nicholas laborer 678789 678789 Waller, Nicholas, of Saule, laborer 1
4161384 2082061 2082061 defendant Gubbard John laborer 678789 678789 Gubbard, John, of Saule, laborer 2
4327005 2139363 2139363 defendant Haughe William husbandman 678789 678789 Haughe, William, of Saule, husbandman 2
4327006 2139363 2139363 defendant Hardynge John husbandman 678789 678789 Hardynge, John, of Saule, husbandman 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 15.677ms