getz1df.fromfile: Get ALL Federal Reserve Board Z1 Flow of Funds data from...

Description Usage Arguments Details Value Examples

Description

getz1df.fromfile Downloads latest Z1 data from the FRB site (http://www.federalreserve.gov/datadownload) and returns a data frame with all Z1 data

Usage

1

Arguments

z1dir

defines a directory where the Z1 zip file will be stored; default is tempdir()

Details

Downloads the data, reads it with scan, parses data, and cleans data

Value

data frame

Examples

1
2
3
4
5
6
## Not run: 
z1 <- getz1df.fromfile()
head(z1)
# or from existing fof dir: z1 <- getz1df.fromfile(fof) where fof <- "e.Data.FOF."

## End(Not run)

donboyd5/apitools documentation built on May 15, 2019, 10:38 a.m.