2016-07-12 7 views
0

で私は私が手に応答して、APIコールを作っています:読むコンテンツタイプvnd.ms-エクセルR

Response [https://reports.appsflyer.com/reports/v5/installs/id1059669903_installs_2016-07-11_2016-07-12_KVCZP] 
    Date: 2016-07-12 06:45 
    Status: 200 
    Content-Type: application~/vnd.ms-excel~; charset=UTF-8 
    Size: 64.7 kB 
<BINARY BODY> 

私はRでこれを読んでどうすればよいですか?

installReports <- GET(url = installReportsUrl, path = installReportsPath) 
print(installReports) 

答えて

0

以下試してください:

result<-content(installReports,type='text/csv',col_names=T,col_types=NULL) 

これは、データフレームとして.csvレポートを表します

これは私がAPI呼び出しを作った方法です。

希望すると便利です。

関連する問題