Exercise

Truncation and order

Two other arguments of the Quandl() function are rows and order.

The meaning of order is straightforward. By default it is set on descending (desc), but you can change it to ascending by setting the order argument to asc.

The rows argument on the other hand allows you to get only the first n rows of your query. For example, you can use rows=1 to get the latest observation of any dataset.

Instructions

100 XP

You only want the first 5 observations of the crude oil prices from the EIA (use the code EIA/STEO_RAIMUUS_Q) in an ascending order. The result should be assigned to TruSo.