import_month_data {bluebike} | R Documentation |
Import monthly data from bluebike system data
Description
This function takes in numeric year/month values and imports data for the specified time
Usage
import_month_data(year, month)
Arguments
year |
numeric value of year |
month |
numeric value of month |
Value
A spec_tbl_df object
Examples
# Pull Jan., 2015 data from web
library(dplyr)
jan_2015 <- import_month_data(2015, 1)
# Pull first quarter of 2015 data from web
spring2015 <- c(1, 2, 3)
quarter_1_2015 <- lapply(spring2015, import_month_data, year = 2015)
quarter_1_2015 <- bind_rows(quarter_1_2015)
[Package bluebike version 0.0.3 Index]