RSS is a web feed that allows users and applications to access updates to websites in a standardised, computer-readable format. It’s an XML-formatted plain text allowing compatibility with many different programs. Azure Data Factory (ADF) supports XML format for the following connectors: Amazon S3, Amazon S3 Compatible Storage, Azure Blob, Azure Data Lake Storage Gen1, Azure Data Lake Storage Gen2, Azure File Storage, File System, FTP, Google Cloud Storage, HDFS, HTTP, Oracle Cloud Storage, and SFTP.
In this post, I will load exchange rates into an Azure SQL Database using ADF. The exchange rates are provided by the Reserve Bank of Australia (RBA) through an RSS Feed. The data is found under the following Exchange Rates website.
Image 1
Image 2
CREATE TABLE EXCHANE_RATE
(
RATE_DATE DATE,
TARGET_CURRENCY_CODE varchar(100),
RATE_VALUE DECIMAL(18,8),
RATE_DESCRIPTION varchar(2000)
)
Image 3
Image 4
Image 5
Image 6
Image 7
Image 8
Image 9
| Source |
Destination |
| [‘description’] |
RATE_DESCRIPTION |
| [‘dc:date’] |
RATE_DATE |
| [‘cb:statistics’][‘cb:exchangeRate’][‘cb:observation’][‘cb:value’] |
RATE_VALUE |
| [‘cb:statistics’][‘cb:exchangeRate’][‘cb:targetCurrency’] |
TARGET_CURRENCY_CODE |
Table 1
Image 10
Image 11
Image 12
As you can see, the pipeline connected to the RBA website loaded the XML data, mapped the required records and columns, and loaded the exchange rates into my staging table.
One51 helps Organisations with their data ingestion and data integration needs by using an approach and the technology that make this type of solutions easy to implement and a more cost-effective alternative to the traditional custom ETL development.
Contact us to know more about our Services.