cbr_get_body: Create body of html-request

Description Usage Arguments Details Value Examples

Description

Create body of html-request

Usage

1

Arguments

body

the body of html-request

name

the name of variable from http://www.cbr.ru/secinfo/secinfo.asmx

Details

Create body of html-request

Value

XML-tree

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
body <- paste0(
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n
<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" 
  xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" 
  xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
    <soap:Body>\n                
      <AuctionsXML xmlns=\"http://web.cbr.ru/\">\n
        <DateFrom>2015-01-01</DateFrom>\n
        <DateTo>2015-06-01</DateTo>\n                
      </AuctionsXML>\n
    </soap:Body>\n                
</soap:Envelope>")
cbr_get_body(body, "AuctionsXML")

bdemeshev/cbr documentation built on May 12, 2019, 3:40 a.m.