use_diary {campfin} | R Documentation |
Take the arguments supplied and put them into the appropriate places in a new template diary. Write the new template diary in the supplied directory.
use_diary(st, type, author, auto = FALSE)
st |
The USPS state abbreviation. State data only, no federal agencies. |
type |
The type of data, one of "contribs", "expends", "lobby", "contracts", "salary", or "voters". |
author |
The author name of the new diary. |
auto |
If |
The file path of new diary, invisibly.
use_diary("VT", "contribs", "Kiernan Nicholls", FALSE)
use_diary("VT", "contribs", "Kiernan Nicholls", tempdir())