statsf | R Documentation |
Takes in station latitudes and longitudes and transforms them into a shapefile, removing all the stations with NA data and outside of the Chicago city boundary
statsf(df)
df |
A cleaned month dataframe from the divvymos package |
pts_sf |
The point layer of stations converted to a shapefile |
Christopher Cebra
##---- Should be DIRECTLY executable !! ---- ##-- ==> Define data, use random, ##-- or do help(data=index) for the standard data sets. ## The function is currently defined as function (x) { }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.