Analyse the percentage of electric vehicles among active Dutch taxis using RDW open data.
You need two CSV exports from RDW Open Data:
- Gekentekende voertuigen (registered vehicles) — download from opendata.rdw.nl
Analyse the percentage of electric vehicles among active Dutch taxis using RDW open data.
You need two CSV exports from RDW Open Data:
| #!/bin/sh | |
| # | |
| # setup-transparent-bridge.sh | |
| # Configure an OpenWrt device as a transparent bridge / AP. | |
| # | |
| # What this does: | |
| # - Installs required packages (curl, ca-certificates, wpad-mbedtls) | |
| # - Bridges all physical ethernet ports (WAN + LAN) into br-lan | |
| # - Disables routing, NAT, firewall, and DHCP server | |
| # - Makes the device a DHCP *client* so it gets a management IP from upstream |
| [DEFAULT] | |
| login = [YOUR LOGIN] | |
| password = [YOUR PASSWORD] | |
| START_URL = https://slimmemeterportal.nl/login | |
| LOGIN_URL = https://slimmemeterportal.nl/user_session | |
| DOWNLOAD = [LOCATION TO STORE THE FILES] |
| import os | |
| import sys | |
| import gzip | |
| filetype="txt" | |
| for line in sys.stdin: | |
| # {movieName}/{holeNumber}/{qStart}_{qEnd} according to https://pacbiofileformats.readthedocs.io/en/3.0/BAM.html | |
| (movieName,holeNumber,subread)=(line.split()[0].split('/')) | |
| directory = movieName+'/'+holeNumber[:3] |
| #!/usr/local/bin/bash | |
| # Error handling | |
| set -o nounset | |
| set -o errexit | |
| set -o pipefail | |
| # BASH 4 script to convert m4a files into mp3 files | |
| # Needed programs : faad and lame | |
| OIFS="$IFS" | |
| IFS=$'\n' |
| #!/usr/bin/env python3 | |
| # Simple script to print: | |
| # Size of a directory tree | |
| # Number of files in that tree | |
| # Number of hard links in that tree | |
| # Number of softlinks in that tree | |
| import os | |
| import sys | |
| import datetime |