<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Notebook
Step1:  using a cache_dir
Caching can speed the development, and provides consistent results.
Step2:  using NQQ25 dataset
Step3:  Previous collection contains only a dataset named 'nama_gdp_c'
Step4:  Get value for year 2012.
<ASSISTANT_TASK:>
Python Code:
# all import here
import os
import jsonstat
Explanation: Notebook: using jsonstat.py with cso.ie dataset
This Jupyter notebook shows the python library jsonstat.py in action. 
It shows how to explore dataset from cso.ie data provider.
End of explanation
cache_dir = os.path.abspath(os.path.join("..", "tests", "fixtures", "www.cso.ie"))
jsonstat.cache_dir(cache_dir)
Explanation: using a cache_dir
Caching can speed the development, and provides consistent results.
End of explanation
base_uri = 'http://www.cso.ie/StatbankServices/StatbankServices.svc/jsonservice/responseinstance/'
uri = base_uri + "NQQ25"
filename = "cso_ie-NQQ25.json"
collection_1 = jsonstat.from_url(uri, filename)
collection_1
Explanation: using NQQ25 dataset
End of explanation
dataset = collection_1.dataset(0)
dataset
dataset.dimension('Sector')
dataset.dimension('Quarter')
dataset.dimension('Statistic')
Explanation: Previous collection contains only a dataset named 'nama_gdp_c'
End of explanation
dataset.data(Sector='03', Quarter='1997Q4', Statistic='NQQ25S1')
Explanation: Get value for year 2012.
End of explanation
<END_TASK>