Skip to contents

This function retrieves blog entries from the U.S. Department of Justice API. You can specify the number of results, sort direction, and an optional keyword filter.

Usage

doj_blog_entries(
  n_results = 50,
  search_direction = "DESC",
  keyword = NULL,
  clean = TRUE
)

Arguments

n_results

Integer. Number of blog entries to retrieve. Default is 50.

search_direction

Character. Sort order: either "ASC" (oldest first) or "DESC" (newest first). Default is "DESC".

keyword

Optional character string to filter results by keyword.

clean

Logical. If TRUE, cleans up the blog body and teaser fields. Default is TRUE.

Value

A cleaned dataframe containing DOJ blog entry metadata and content.

Examples

# \dontrun{
# Retrieve a single DOJ blog entry
result <- doj_blog_entries(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 On December 17, ICITAP’s Global Forensic Science Unit provided an update on the impact of its assistance to Costa Rica’s Judicial Investigations Organization (OIJ) Department of Forensic Sciences (DFS). In December 2024, scientists from the Costa Rica’s DFS published an article entitled “A practical approach to mitigating cognitive bias effects in forensic casework” in the Forensic Science International: Synergy journal. The Synergy journal is an international open access journal showcasing the most cutting-edge interdisciplinary research and policy and management analysis in forensic science. The article focuses on the practical implementation of training, linear sequential unmasking, and blind proficiency testing strategies for mitigating bias and results that were demonstrated by the DFS’ Questioned Documents section, and serves as a foundation for expanding those strategies to full-scale implementation. Although recent research has raised awareness of human factors in forensic science, very few laboratories have successfully implemented significant countermeasures to mitigate bias in their procedures. The development of this pilot plan was supported by a study tour facilitated by ICITAP to allow members of the DFS to visit US laboratories that are leading the field in this area, including in-depth discussions with executive leadership and observation of how mitigating protocols are applied in day-to-day operations and integrated into organizational culture. This article is the DFS’ second publication in Synergy, where they previously published an article about their successful implementation and results of ICITAP-supported Lean Six Sigma training. The OIJ DFS is an accredited laboratory that serves as a regional role model for Central America and has consistently demonstrated their dedication to improving their service as a forensic provider through projects focused on efficiency and program management. ICITAP works in Central America in partnership with the U.S. Department of State’s Bureau of International Narcotic and Law Enforcement Affairs (INL).
#>   changed created       date
#> 1    <NA>    <NA> 2024-12-17
#>                                                                                                                                                                                                             teaser
#> 1 On December 17, ICITAP’s Global Forensic Science Unit provided an update on the impact of its assistance to Costa Rica’s Judicial Investigations Organization (OIJ) Department of Forensic Sciences (DFS).&nbsp;
#>                                                                                                                  title
#> 1 Costa Rica: Department of Forensic Sciences Publishes Scientific Article on Mitigating Bias in Forensic Laboratories
#>                                                                                                                                                   url
#> 1 https://www.justice.gov/archives/criminal/criminal-icitap/blog/costa-rica-department-forensic-sciences-publishes-scientific-article-mitigating-bias
#>                                   uuid name
#> 1 d06fc5ec-7735-4742-b29e-b4fd84f400e9 <NA>
# }