View source: R/download_generic.R
download_generic | R Documentation |
Download premarket from the FDA website and store in the local directory as text files.
download_generic(
filename_roots,
filename_accessed_datetime,
download_directory = "data/"
)
filename_roots |
A vector of filenames (without extensions) to download from the FDA website. For example, for 510(k)s: c("pmn7680", "pmn8185", ' "pmn8690", "pmn9195", "pmn96cur"). |
filename_accessed_datetime |
The file path and name of the file where you would like the function to write-out the date when the files were downloaded. |
download_directory |
Defaults to |
Boolean. TRUE if downloads are successful.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.