Skip to contents

Convert list from xml to data.frame with little changes

Usage

extractXML(url)

Arguments

url

the url of xml list of data

Value

data.frame

Examples

extractXML("https://cbr.ru/scripts/xml_swap.asp?date_req1=01/12/2002&date_req2=06/12/2002")
#>      datebuy   datesell baserate     sd tir deadlinebs .attrs.iseuro
#> 1 02.12.2002 03.12.2002  31,8424 0,0157  18 15:00                  0
#> 2 03.12.2002 04.12.2002  31,8547 0,0157  18 15:00                  0
#> 3 04.12.2002 05.12.2002  31,8584 0,0157  18 15:00                  0
#> 4 05.12.2002 06.12.2002  31,8596 0,0157  18 15:00                  0
#> 5 06.12.2002 09.12.2002  31,8578 0,0471  18 14:00                  0