Retrieves detailed information about a specific SITUAS report by its ID. This is a convenience function that returns metadata for a single report.

get_report_details(pfun)

Arguments

pfun

Integer. Report ID to look up.

Value

A data.table with one row containing report details, or an empty data.table if the report ID is not found. Columns are the same as search_reports.

Examples

if (FALSE) { # \dontrun{
# Get details for the municipalities report (ID 61)
report_61 <- get_report_details(61)
print(report_61$title)

# Check if a report exists
if (nrow(get_report_details(999)) == 0) {
  message("Report 999 does not exist")
}
} # }