Skip to contents

Posts a JSON-body search request to the NamUs MissingPersons endpoint (/api/CaseSets/NamUs/MissingPersons/Search) and pages through the results. Returns morie's documented schema - case_number, state, county, dlc_date (date last contact), sex, race, age_min, age_max, height_cm_min, height_cm_max, weight_kg_min, weight_kg_max, first_name, last_name, city, circumstances.

Usage

morie_ingest_forensics_namus_missing(
  state = NULL,
  max_features = NULL,
  page_size = 200L,
  user_agent = .MORIE_FORENSICS_DEFAULT_UA,
  timeout = .MORIE_FORENSICS_DEFAULT_TIMEOUT
)

Arguments

state

Two-letter US state code; NULL returns the national feed.

max_features

Optional hard cap on returned rows.

page_size

Records per request (default 200).

user_agent, timeout

Standard request knobs.

Value

A base R data.frame.

Examples

# \donttest{
if (requireNamespace("httr2", quietly = TRUE)) withAutoprint({
df <- morie_ingest_forensics_namus_missing(state = "CA",
                                           max_features = 1000L)
head(df)
})
#> > df <- morie_ingest_forensics_namus_missing(state = "CA", max_features = 1000L)
#> > head(df)
#>   case_number state      county            dlc_date    sex
#> 1        1680    CA   Riverside 2008-07-01T00:00:00   Male
#> 2         368    CA Los Angeles 2004-12-02T00:00:00   Male
#> 3        1205    CA  Sacramento 2001-05-22T00:00:00 Female
#> 4        1216    CA   Riverside 1986-03-31T00:00:00 Female
#> 5        1186    CA San Joaquin 2002-02-26T00:00:00 Female
#> 6        1157    CA      Sonoma 2004-06-29T00:00:00   Male
#>                       race age_min age_max height_cm_min height_cm_max
#> 1        White / Caucasian      21      21            NA            NA
#> 2 Black / African American      33      33            NA            NA
#> 3        White / Caucasian      26      26            NA            NA
#> 4        White / Caucasian      24      24            NA            NA
#> 5        White / Caucasian      57      57            NA            NA
#> 6        White / Caucasian      34      34            NA            NA
#>   weight_kg_min weight_kg_max first_name last_name         city
#> 1            NA            NA    Spencer     Karas Palm Springs
#> 2            NA            NA       Gary     Brown  Los Angeles
#> 3            NA            NA   Angelina     Evans   Sacramento
#> 4            NA            NA      Linda     Grimm       Perris
#> 5            NA            NA     Glenda    Eldred     Stockton
#> 6            NA            NA   Benjamin    Barros       Cotati
#>                                                                                                                                                                                                                                                       circumstances
#> 1                                                                                                              Spencer Karas was last known to be in Palm Springs, California on July 1, 2008.  His truck found abandoned in Thermal, CA in an orchard near HWY 86.
#> 2                                                                                Gary was last seen with Michael Johnson (also missing) at approximately midnight at a relative's residence in the vicinity of the 2500 block of Buckingham Rd. in Los Angeles, CA.
#> 3                                                                                                                                                              Angie was last seen at approximately 12:30am on Fruitridge Rd. and Stockton Blvd. in Sacramento, CA.
#> 4                                                                                                                                                                                 Her husband stated that Linda had left to go to a local store and never returned.
#> 5                                                                                                                                                                                       Unknown. Glenda was last seen in Stockton, CA. She has a medical condition.
#> 6 Benjamin, also known as Ben, was last seen at approximately 4:45am leaving his residence in the vicinity of the 800 block of E. Cotati Ave. in Cotati, CA. He stated he was leaving to make an appointment he had later and hasn't been seen or heard from since.
# }