parse_contract_attachment_urls: Parse SAM/FBO Contract Attachment JSON

Description Usage Arguments Examples

View source: R/fbo_sam.R

Description

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

Usage

1
2
3
4
5
6
7
parse_contract_attachment_urls(
 
    urls = c("https://beta.sam.gov/api/prod/opps/v3/opportunities/9d3960a1166c45b49ffc9cdc0c87584d/resources?api_key=O4kzViWGVYNumPqhAzUhYGiZZZwW3RKUEYJOI6ii&excludeDeleted=false&withScanResult=false",
    "https://beta.sam.gov/api/prod/opps/v3/opportunities/52bc1e4035dd4f5484bad81174264ce8/resources?api_key=O4kzViWGVYNumPqhAzUhYGiZZZwW3RKUEYJOI6ii&excludeDeleted=false&withScanResult=false"),
  nest_data = T,
  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

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

abresler/govtrackR documentation built on July 11, 2020, 12:30 a.m.