Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Open source release of city bike rack locations throughout Chicago.
R
Branch: master
Failed to load latest commit information.
data Initial commit
examples Initial commit
.gitattributes Initial commit
.gitignore Initial commit
CHANGELOG.txt Initial commit
LICENSE.txt Initial commit
README.md Fixed the first enumerated list

README.md

README

The City of Chicago is releasing selected datasets from the data portal under the MIT License (see below). This repository contains:

  1. Data in a comma separated values (CSV) format.
  2. Examples of importing data into R.

Working with CSV Data

The data was released as a CSV file. Below are some simple instructions which will show you how to load CSV in R.

R

Find an example script here. This example will import the data in R and create a couple of maps.

Instructions:

  1. Set the working directory to the location of the downloaded repository.

    setwd("path\\to\\folder")
  2. Import data:

    bike.racks <- read.csv("data\\Bike_Racks.csv")
  3. Review the new dataframe:

    head(bike.racks)
  4. Ensure the map works:

    plot(bikes.racks$Longitude, bike.racks$Latitude)

Here is the output you should expect from the plot() command: plot(bike.racks)

License

This data is released under the MIT License. See LICENSE.txt.

Something went wrong with that request. Please try again.