Generates a tibble containing zip URLs for specified inputs

bulk_usa_spending_urls(
  years = 2001:2020,
  types = c("contracts", "assistance"),
  agencies = NA,
  api_version = 2,
  return_message = T
)

Arguments

years

vector of years starting in 2001

types

type of award

  • contracts - contract spending

  • assistance - financial assistance awards

agencies

if not NA vector of agency names, NA returns all agencies

api_version

API version, as of December 2019 it is 2

return_message

if TRUE returns a message

Value

tibble

Examples

bulk_usa_spending_urls(years = 2001:2020, types = c('contracts', 'assistance'), agencies = NA)