This function retrieves press releases from the U.S. Department of Justice API. You can specify the number of results, search direction, and optional keyword filtering.
Arguments
- n_results
Integer. Number of press releases to retrieve. Default is 50.
- search_direction
Character. "ASC" or "DESC" for ascending or descending sort by date. Default is "DESC".
- keyword
Optional character string to filter results by keyword.
- clean
Logical. If TRUE, cleans up the text fields. Default is TRUE.
Examples
# \dontrun{
# Retrieve a single DOJ press release
result <- doj_press_releases(n_results = 1)
#> Warning: There were 2 warnings in `mutate()`.
#> The first warning was:
#> ℹ In argument: `created = anydate(as.numeric(created))`.
#> Caused by warning in `anydate()`:
#> ! NAs introduced by coercion
#> ℹ Run `dplyr::last_dplyr_warnings()` to see the 1 remaining warning.
print(result)
#> body
#> 1 ATLANTA - Attorney General Pamela Bondi has appointed Theodore S. Hertzberg as Interim United States Attorney for the Northern District of Georgia pursuant to 28 U.S.C. § 546, which provides that “the Attorney General may appoint a United States [A]ttorney for the district in which the office of United States [A]ttorney is vacant.” This appointment took effect on May 13, 2025. Chief U.S. District Judge Timothy C. Batten, Sr. administered Mr. Hertzberg’s oath of office on May 14, 2025.Mr. Hertzberg previously served as an Assistant U.S. Attorney for nearly ten years. His tenure with the Justice Department began in the Savannah headquarters of the U.S. Attorney’s Office for the Southern District of Georgia. In Savannah, Mr. Hertzberg prosecuted violent criminals, drug dealers, fraudsters, and money launderers while also serving as chief of the asset forfeiture section. Upon relocating to Atlanta in 2018, Mr. Hertzberg transferred to the U.S. Attorney’s Office for the Northern District of Georgia, where he prosecuted gang leaders, child sex predators, gun traffickers, armed felons, and other dangerous offenders.Before joining the Department of Justice, Mr. Hertzberg practiced law in the New York office of Kramer Levin Naftalis & Frankel LLP, and he served as a law clerk to the Honorable Kristi K. DuBose of the U.S. District Court for the Southern District of Alabama.U.S. Attorney Hertzberg is a graduate of Amherst College and New York University School of Law.For further information please contact the U.S. Attorney’s Public Affairs Office at USAGAN.PressEmails@usdoj.gov or (404) 581-6280. The Internet address for the U.S. Attorney’s Office for the Northern District of Georgia is http://www.justice.gov/usao-ndga.
#> changed created date number
#> 1 <NA> <NA> 2025-05-14 <NA>
#> teaser
#> 1 Attorney General Pamela Bondi has appointed Theodore S. Hertzberg as Interim United States Attorney for the Northern District of Georgia pursuant to 28 U.S.C. § 546, which provides that “the Attorney General may appoint a United States [A]ttorney for the district in which the office of United States [A]ttorney is vacant.” This appointment took effect on May 13, 2025. Chief U.S. District Judge Timothy C. Batten, Sr. administered Mr. Hertzberg’s oath of office on May 14, 2025.
#> title
#> 1 Attorney General Pamela Bondi Appoints Career Prosecutor Theodore S. Hertzberg as Interim United States Attorney
#> url
#> 1 https://www.justice.gov/usao-ndga/pr/attorney-general-pamela-bondi-appoints-career-prosecutor-theodore-s-hertzberg-interim
#> uuid name
#> 1 41713eb3-b83c-4329-a80a-6e898bbd6d2c USAO - Georgia, Northern
# }