ropensci / stplanr

Sustainable transport planning with R
https://docs.ropensci.org/stplanr
Other
417 stars 66 forks source link

Vignette on writing domain-specific functions and extending the package #454

Closed Robinlovelace closed 3 years ago

Robinlovelace commented 3 years ago

The package is very useful in some areas so I think we should encourage domain-specific functions to be written, e.g. oe_get_cycleways() to get cycleways with the appropriate query. However, such functions are best suited to packages that build on osmextract which I think should be kept to generic functionality to avoid mission creep.

Proposed solution: vignette documenting how to write functions that extend osmextract, e.g. based on a hypothetical package called osmcycleinfra.

Robinlovelace commented 3 years ago

Wrong repo!