R-Script or tips to download and use sensor data

In Python:

https://archive.sensor.community/csv_per_month/2023-09/2023-09_sds011.zip

For example, download the archive for September for the SDS011.

pip3 install csvkit
csvgrep -d ";" -c sensor_id -r "^2492$|^4686$|^10557$" 2022-02_pms7003.csv > testnewfin.csv

The regex is made with the ^ and $ and | for the list of sensor.
It should filter the huge csv for just the sensors of interest.