ilarischeinin / citibikes

R scripts for Citi Bike data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

R scripts for Citi Bike data

This repository contains scripts to work with publicly available data for Citi Bikes in New York City. There is an associated blog post here.

import.R

Fetch available data files for individual rides and combine them into a single file rides.rds. If the file is already present, only new data is fetched and appended. Also fetches and saves station information from the JSON feed.

flow.R

Visualize how bikes flow between different parts of the city during the day.

neighborhoods.R

K-means clustering based on the average number of bikes arriving to and leaving from each station every hour, calculated separately for weekdays and weekends.

About

R scripts for Citi Bike data

License:MIT License


Languages

Language:R 100.0%