getobject: Get object

Description Usage Arguments Details Value See Also Examples

Description

Retrieve an object from an Qingstor bucket

Usage

1
get_object(object, bucket, headers = list(), parse_response = FALSE, ...)

Arguments

object

Character string with the object key, or an object of class “object”. In most cases, if object is specified as the latter.

bucket

Character string with the name of the bucket.

headers

List of request headers for the REST call.

Details

get_object retrieves an object into memory.

Value

DataFrame if the object is a csv file.

See Also

get_bucket

Examples

1
2
3
4
# get an object in memory

get_object(object = 'object_name', bucket = 'bucket_name')
the object_name could be a name under a folder like 'some_folder/object_name'

zhangxing-love/QingStorRSDK_0.1 documentation built on May 4, 2019, 10:17 p.m.