This merges objects stored on Cloud Storage into one object.

gcs_compose_objects(objects, destination, bucket = gcs_get_global_bucket())

Arguments

objects

A character vector of object names to combine

destination

Name of the new object.

bucket

The bucket where the objects sit

Value

Object metadata

See also

Compose objects

Other object functions: gcs_copy_object(), gcs_delete_object(), gcs_get_object(), gcs_list_objects(), gcs_metadata_object()

Examples

if (FALSE) { gcs_global_bucket("your-bucket") objs <- gcs_list_objects() compose_me <- objs$name[1:30] gcs_compose_objects(compose_me, "composed/test.json") }