download_most_recent_bucket_file: Parse PAWS bucket contents for most recent file

download_most_recent_bucket_fileR Documentation

Parse PAWS bucket contents for most recent file

Description

This function grabs the most recent file in the S3 bucket named in the ‘I360_S3_BUCKET' environment variable. It stores the file in the team’s Google Drive and also keeps a local copy for immediate analysis.

Usage

download_most_recent_bucket_file(
  local_dest_path = "~/actualize/data-raw/",
  file_name = "local1",
  env_file = ".env-data-science"
)

Arguments

local_dest_path

The place where the file should be downloaded.

file_name

The name of the flat you are looking for in the S3 bucket.

env_file

The location of your data science environment variable file.


stand-together-foundation/actualize documentation built on May 12, 2022, 12:39 a.m.