Last chance! 50% off unlimited learning
Sale ends in
This merges objects stored on Cloud Storage into one object.
gcs_compose_objects(objects, destination, bucket = gcs_get_global_bucket())
A character vector of object names to combine
Name of the new object.
The bucket where the objects sit
Object metadata
Other object functions:
gcs_copy_object()
,
gcs_delete_object()
,
gcs_get_object()
,
gcs_list_objects()
,
gcs_metadata_object()
# NOT RUN {
# }
# NOT RUN {
gcs_global_bucket("your-bucket")
objs <- gcs_list_objects()
compose_me <- objs$name[1:30]
gcs_compose_objects(compose_me, "composed/test.json")
# }
Run the code above in your browser using DataLab