home / cp40x

names

6 rows where case_id = 2491244

✎ 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
5454451 2491244 2491244 plaintiff Amys William     Amys, William 0
5454452 2491244 2491244 defendant Materas Thomas butcher 605106 605106 Materas, Thomas, of Faversham, butcher 0
5454453 2491244 2491244 defendant Gyll John husbandman 595870 595870 Gyll, John, of Mersham, husbandman 1
5454454 2491244 2491244 defendant Knoldan Thomas husbandman 590155 590155 Knoldan, Thomas, of Rokyng, husbandman 2
5454455 2491244 2491244 defendant Gotele Edmund husbandman 588412 588412 Gotele, Edmund, of Westwell, husbandman 3
5454456 2491244 2491244 defendant Thurston William butcher 889343 889343 Thurston, William, of Ashetefford, butcher 4

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