View source: R/fiscaldata_data.R
| sync_local_fiscaldata | R Documentation |
Synchronize One Treasury Fiscal Data Table
sync_local_fiscaldata(
dataset_id,
endpoint,
date_col = "record_date",
key_cols = date_col,
fields = NULL,
from = NULL,
to = NULL,
local_path = NULL,
overlap_days = 14L,
page_size = 10000L
)
dataset_id |
Stable local dataset identifier. |
endpoint |
Fiscal Data endpoint relative to the fiscal-service base URL. |
date_col |
Source date column. |
key_cols |
Source columns that uniquely identify observations per date. |
fields |
Optional source fields to request. |
from, to |
Optional inclusive date bounds. |
local_path |
Optional Fiscal Data storage directory. |
overlap_days |
Days re-fetched around the latest local date. |
page_size |
Number of source rows requested per page. |
A local synchronization result list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.