home / cp40x

names

8 rows where case_id = 2271955

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4721167 2271955 2271955 plaintiff Canner John   585951 585951 Canner, John, of Winchester 0
4721168 2271955 2271955 defendant Mogge Geoffrey gent 714850 714850 Mogge, Geoffrey, of Guildford, Surrey, gent 0
4721169 2271955 2271955 defendant Mogge Joan     Joan, his wife 1
4721170 2271955 2271955 defendant Napton John husbandman 585990 585990 Napton, John, of Banbury, Oxon, husbandman 2
4721171 2271955 2271955 defendant Rye John merchant 593796 593796 Rye, John, of Salisbury, Wilts, merchant 3
4721172 2271955 2271955 defendant Harleston John draper 595147 595147 Harleston, John, of Wilton, Wilts, draper 4
4721173 2271955 2271955 defendant Motthe John (legal representative) 597039 597039 Motthe, John, of Newbury, administrator of 5
4721174 2271955 2271955 defendant Motthe Agnes widow 604729 604729 Motthe, Agnes, of Newbury, Berks, widow 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 14.313ms