fidelthomet / Velo

Datenanalyse mit R am Beispiel der Zürcher Velo-Verkehrszählungen
2 stars 1 forks source link

Load data dynamically #2

Open loleg opened 6 years ago

loleg commented 6 years ago

It would be great if the latest data was being loaded through HTTP requests instead of local CSV files. People are confused about that even being possible because of CKAN's hashed download links.

fidelthomet commented 6 years ago

Hm, I'm not sure how those URLs behave either. But using the ckanr package would be an option. I used it in this example which is a bit hacky (i had to use the ckan version from github, as the requiered version wasn't published to cran yet) and also broken. The loading data from ckan part seems to work tough.

However, for simplicty's sake I'd prefer to stick to local CSVs. In another project I also had issues with changing data set names and changing variable names.