# R-Script or tips to download and use sensor data

**URL:** https://forum.sensor.community/t/r-script-or-tips-to-download-and-use-sensor-data/426
**Category:** Scientific Discourse
**Created:** [March 16, 2021, 9:58am UTC](https://forum.sensor.community/t/r-script-or-tips-to-download-and-use-sensor-data/426 "2021-03-16T09:58:47Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [March 16, 2021, 2:04pm UTC](https://forum.sensor.community/t/r-script-or-tips-to-download-and-use-sensor-data/426/4 "2021-03-16T14:04:17Z")

</div>

I would do:

1. load the current API data in order to get the list of all the sensors as json: [https://data.sensor.community/static/v1/data.json](https://data.sensor.community/static/v1/data.json)

2. import the data in QGIS: [Download QGIS](https://www.qgis.org/en/site/forusers/download.html)

3. get a shapefile of Belgium and import it in QGIS

4. use the intersection algorithm in QGIS in order to get the sensor IDs in Belgium

5. write a simple script in python to download in the archives according to IDs and dates :

---

_[View the full topic](https://forum.sensor.community/t/r-script-or-tips-to-download-and-use-sensor-data/426)._
