download_single_zip_file: Downloads a single zip file from SEC

Description Usage Arguments Value Examples

View source: R/util.R

Description

Downloads a single file from <https://www.sec.gov/files/dera/data/financial-statement-data-sets/>.

Usage

1
2
download_single_zip_file(year_in, quarter_in,
  cache_folder = "GetEdgarData-cache")

Arguments

year_in

The year

quarter_in

The quarter (e.g. 'Q1')

cache_folder

Path of cache folder to save all memoise files and downloaded zip files

Value

TRUE, if sucessful

Examples

1
2
3
4
5
6
## Not run: 
flag <- download_single_zip_file(year_in = 2018,
                                 quarter_in = 'Q1',
                                 cache_folder = 'GetEdgarData-cache')

## End(Not run)

msperlin/GetEdgarData documentation built on Jan. 21, 2021, 9:14 a.m.