ustfd_url: Generate URL To Access US Treasury Fiscal Data API

View source: R/ustfd_url.R

ustfd_urlR Documentation

Generate URL To Access US Treasury Fiscal Data API

Description

ustfd_url() will generate a URL suitable for querying the Fiscal Data API.

Usage

ustfd_url(query)

Arguments

query

required list

Value

a httr url object

See Also

Other ustfd_low_level: ustfd_json_response(), ustfd_request(), ustfd_response_meta_object(), ustfd_response_payload()

Examples


library(ustfd)
ustfd_url(ustfd_query('/v1/accounting/dts/dts_table_4'))



ustfd documentation built on May 29, 2024, 5:05 a.m.