Upload (create or overwrite) a file to the project bucket. Writes an indicator file exactly corresponding to the data_file path and name (but with indicator file extension).
1 2 3 4 5 6 7 8 9 10 |
remote_ind |
character name of the indicator file to write locally, but which describes the status of the remote file once the file has been uploaded by this function. The remote data file will have a name corresponding to this ind_file (without the indicator extension, but with same path and basename). |
local_source |
character name of EITHER a data file to upload OR the
indicator file of a data file to upload. Using the same value for both
remote_ind and local_source (or setting local_source to the data file name
corresponding to the indicator in remote_ind) will only work (in remake) if
you are calling |
mock_get |
character. if remote_ind and local_source imply different
local file locations, should the current local file (implied by
local_source) be left alone ('none'), or copied ('copy') or moved ('move')
to the location implied by remote_ind? If 'copy' or 'move' are used, and if
gd_get will be called in an upcoming command, this argument may help to
avoid an unnecessary download from S3 back to this computer
because |
on_exists |
what to do if the file already exists - replace, or throw an error? the default is to replace |
verbose |
logical Used in this function and passed through aws.s3::put_object to aws.s3::s3HTTP |
dry_put |
logical. If TRUE, calls to this function won't actually push anything to Google Drive; they'll just pretend they've done it. |
config_file |
character name of the YAML file containing project-specific configuration information for S3 |
ind_ext |
the indicator file extension to expect at the end of remote_ind |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.