Extract attachment data from vector of URLs relating to SAM contract opportunities

parse_contract_attachment_urls(
  urls =
    c("https://sam.gov/api/prod/opps/v3/opportunities/9d3960a1166c45b49ffc9cdc0c87584d/resources?api_key=O4kzViWGVYNumPqhAzUhYGiZZZwW3RKUEYJOI6ii&excludeDeleted=false&withScanResult=false",
    "https://sam.gov/api/prod/opps/v3/opportunities/52bc1e4035dd4f5484bad81174264ce8/resources?api_key=O4kzViWGVYNumPqhAzUhYGiZZZwW3RKUEYJOI6ii&excludeDeleted=false&withScanResult=false"),
  nest_data = T,
  snake_names = F,
  return_message = T
)

Arguments

urls

vector of URLS

nest_data

if TRUE nests data - defaults to TRUE

return_message

if TRUE returns a messaage

Examples

parse_contract_attachment_urls(urls = "https://sam.gov/api/prod/opps/v3/opportunities/52bc1e4035dd4f5484bad81174264ce8/resources?api_key=O4kzViWGVYNumPqhAzUhYGiZZZwW3RKUEYJOI6ii&excludeDeleted=false&withScanResult=false", return_message = T)