feed_get_messages: Download an AEC feed file and extract its contents

Description Usage Arguments Value

View source: R/download.R

Description

This function connects to the FTP site, downloads a zip file from a feed directory, and extracts the XML message(s) and metadata contained within.

Usage

1
feed_get_messages(dir_url, filename, destpath)

Arguments

dir_url

A string containing the URL of the directory

filename

A string containing the name of the zip file to download

destpath

A string specifying the base path to download and extract files in

Value

A character vector of the filepaths extracted to, invisibly


tobiasziegler/aecfeedr documentation built on April 9, 2021, 10:45 a.m.