bulk_usa_spending_urls: USA Spending Bulk URLs

Description Usage Arguments Value Examples

View source: R/usaspending.R

Description

Generates a tibble containing zip URLs for specified inputs

Usage

1
2
3
4
5
6
7
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

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

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