Description Usage Arguments Value
View source: R/download_clip.R
Clips the Fietstelweek data on a system directory to a study area within the Netherlands, either a municipality or a province for 2015 and/or 2016 and saves it as three files: edges.gpkg, nodes.gpkg, routes.csv. It can be used after applying the downloader_ftw function, or providing the user's self-downloaded data.
1 2 3 4 |
directory |
filepath to the directory where the Fietstelweek data is and will be stored. |
year |
desired year of analysis, can either be |
study_area |
name of the municipality or province to clip the data to. The parameter is case sensitive
and prone to fail with spelling mistakes. To have a full list of the municipalities and
provinces names allowed, please type on the console |
municipality |
logical value. Indicates if the study area is a municipality ( |
... |
ignored |
edges_file_2015 |
self downloaded filepath for the edges file for 2015. Its format should be compatible with st_read. |
nodes_file_2015 |
self downloaded filepath for the nodes file for 2015. Its format should be compatible with st_read. |
routes_file_2015 |
self downloaded filepath for the routes file for 2015. Its format should be compatible with fread. |
edges_file_2016 |
self downloaded filepath for the edges file for 2016. Its format should be compatible with st_read. |
nodes_file_2016 |
self downloaded filepath for the nodes file for 2016. Its format should be compatible with st_read. |
routes_file_2016 |
self downloaded filepath for the routes file for 2016. Its format should be compatible with fread. |
Prints the directory where the data has been saved.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.