parse_sam_fbo_page_urls: Parse Vector of API Calls

Description Usage Arguments Examples

View source: R/fbo_sam.R

Description

Parse Vector of API Calls

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
parse_sam_fbo_page_urls(
 
    urls = c("https://beta.sam.gov/api/prod/sgs/v1/search/?api_key=O4kzViWGVYNumPqhAzUhYGiZZZwW3RKUEYJOI6ii&random=1573665296402&index=opp&q=&page=0&sort=-modifiedDate&mode=search&is_active=true&size=500",
    "https://beta.sam.gov/api/prod/sgs/v1/search/?api_key=O4kzViWGVYNumPqhAzUhYGiZZZwW3RKUEYJOI6ii&random=1573665296402&index=opp&q=&page=1&sort=-modifiedDate&mode=search&is_active=true&size=500",
    "https://beta.sam.gov/api/prod/sgs/v1/search/?api_key=O4kzViWGVYNumPqhAzUhYGiZZZwW3RKUEYJOI6ii&random=1573665296402&index=opp&q=&page=2&sort=-modifiedDate&mode=search&is_active=true&size=500",
        
    "https://beta.sam.gov/api/prod/sgs/v1/search/?api_key=O4kzViWGVYNumPqhAzUhYGiZZZwW3RKUEYJOI6ii&random=1573665296402&index=opp&q=&page=3&sort=-modifiedDate&mode=search&is_active=true&size=500",
    "https://beta.sam.gov/api/prod/sgs/v1/search/?api_key=O4kzViWGVYNumPqhAzUhYGiZZZwW3RKUEYJOI6ii&random=1573665296402&index=opp&q=&page=4&sort=-modifiedDate&mode=search&is_active=true&size=500"),
  return_message = T
)

Arguments

urls

vector of JSON urls

return_message

if TRUE returns a message

Examples

1
parse_sam_fbo_page_urls(urls = "https://beta.sam.gov/api/prod/sgs/v1/search/?api_key=O4kzViWGVYNumPqhAzUhYGiZZZwW3RKUEYJOI6ii&random=1573665296402&index=opp&q=&page=0&sort=-modifiedDate&mode=search&is_active=true&size=500")

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