From 95c6e7f1b34227e575bc94e9d776a022b1c65231 Mon Sep 17 00:00:00 2001
From: fnattino <49899980+fnattino@users.noreply.github.com>
Date: Thu, 19 Dec 2024 14:59:12 +0000
Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20CityRive?=
 =?UTF-8?q?rSpaces/rcoins@579ff9328f0e4525ba02a1c80646679f10c22d5e=20?=
 =?UTF-8?q?=F0=9F=9A=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 articles/using-rcoins.html | 4 +++-
 authors.html               | 4 ++--
 index.html                 | 1 +
 pkgdown.yml                | 2 +-
 search.json                | 2 +-
 5 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/articles/using-rcoins.html b/articles/using-rcoins.html
index 3dee0ab..28d3cf5 100644
--- a/articles/using-rcoins.html
+++ b/articles/using-rcoins.html
@@ -66,7 +66,9 @@ <h1>Tracing continuous streets using rcoins</h1>
 <code class="sourceCode R"><span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://cityriverspaces.github.io/rcoins/">rcoins</a></span><span class="op">)</span></span>
 <span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://r-spatial.github.io/sf/" class="external-link">sf</a></span><span class="op">)</span></span>
 <span><span class="co">#&gt; Linking to GEOS 3.12.1, GDAL 3.8.4, PROJ 9.4.0; sf_use_s2() is TRUE</span></span>
-<span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://ggplot2.tidyverse.org" class="external-link">ggplot2</a></span><span class="op">)</span></span></code></pre></div>
+<span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://ggplot2.tidyverse.org" class="external-link">ggplot2</a></span><span class="op">)</span></span>
+<span><span class="co">#&gt; Error in get(paste0(generic, ".", class), envir = get_method_env()) : </span></span>
+<span><span class="co">#&gt;   object 'type_sum.accel' not found</span></span></code></pre></div>
 <p>In this article we demonstrate how to trace continuous streets using
 the <code><a href="../reference/stroke.html">stroke()</a></code> function. The function takes an
 <code>sf</code> object of streets and returns a new <code>sf</code>
diff --git a/authors.html b/authors.html
index 89aa037..7412291 100644
--- a/authors.html
+++ b/authors.html
@@ -56,13 +56,13 @@ <h2 id="citation">Citation</h2>
 
       <p>Nattino F, Forgaci C (2024).
 <em>rcoins: Continuity in street networks</em>.
-R package version 0.1.0, <a href="https://cityriverspaces.github.io/rcoins/">https://cityriverspaces.github.io/rcoins/</a>.
+R package version 0.1.0, https://doi.org/10.5281/zenodo.14501805, <a href="https://cityriverspaces.github.io/rcoins/">https://cityriverspaces.github.io/rcoins/</a>.
 </p>
       <pre>@Manual{,
   title = {rcoins: Continuity in street networks},
   author = {Francesco Nattino and Claudiu Forgaci},
   year = {2024},
-  note = {R package version 0.1.0},
+  note = {R package version 0.1.0, https://doi.org/10.5281/zenodo.14501805},
   url = {https://cityriverspaces.github.io/rcoins/},
 }</pre>
     </div>
diff --git a/index.html b/index.html
index 57fd885..c2091f2 100644
--- a/index.html
+++ b/index.html
@@ -156,6 +156,7 @@ <h2 data-toc-skip>Developers</h2>
 <h2 data-toc-skip>Dev status</h2>
 <ul class="list-unstyled">
 <li><a href="https://github.com/CityRiverSpaces/rcoins/actions/workflows/R-CMD-check.yaml" class="external-link"><img src="https://github.com/CityRiverSpaces/rcoins/actions/workflows/R-CMD-check.yaml/badge.svg" alt="R-CMD-check"></a></li>
+<li><a href="https://doi.org/10.5281/zenodo.14501805" class="external-link"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.14501805.svg" alt="DOI"></a></li>
 </ul>
 </div>
 
diff --git a/pkgdown.yml b/pkgdown.yml
index 45cdf8d..3dc072c 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -3,7 +3,7 @@ pkgdown: 2.1.1
 pkgdown_sha: ~
 articles:
   using-rcoins: using-rcoins.html
-last_built: 2024-12-17T18:16Z
+last_built: 2024-12-19T14:58Z
 urls:
   reference: https://cityriverspaces.github.io/rcoins/reference
   article: https://cityriverspaces.github.io/rcoins/articles
diff --git a/search.json b/search.json
index 8944813..59f1cd8 100644
--- a/search.json
+++ b/search.json
@@ -1 +1 @@
-[{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"Apache License","title":"Apache License","text":"Version 2.0, January 2004 <http://www.apache.org/licenses/>","code":""},{"path":[]},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_1-definitions","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"1. Definitions","title":"Apache License","text":"“License” shall mean terms conditions use, reproduction, distribution defined Sections 1 9 document. “Licensor” shall mean copyright owner entity authorized copyright owner granting License. “Legal Entity” shall mean union acting entity entities control, controlled , common control entity. purposes definition, “control” means () power, direct indirect, cause direction management entity, whether contract otherwise, (ii) ownership fifty percent (50%) outstanding shares, (iii) beneficial ownership entity. “” (“”) shall mean individual Legal Entity exercising permissions granted License. “Source” form shall mean preferred form making modifications, including limited software source code, documentation source, configuration files. “Object” form shall mean form resulting mechanical transformation translation Source form, including limited compiled object code, generated documentation, conversions media types. “Work” shall mean work authorship, whether Source Object form, made available License, indicated copyright notice included attached work (example provided Appendix ). “Derivative Works” shall mean work, whether Source Object form, based (derived ) Work editorial revisions, annotations, elaborations, modifications represent, whole, original work authorship. purposes License, Derivative Works shall include works remain separable , merely link (bind name) interfaces , Work Derivative Works thereof. “Contribution” shall mean work authorship, including original version Work modifications additions Work Derivative Works thereof, intentionally submitted Licensor inclusion Work copyright owner individual Legal Entity authorized submit behalf copyright owner. purposes definition, “submitted” means form electronic, verbal, written communication sent Licensor representatives, including limited communication electronic mailing lists, source code control systems, issue tracking systems managed , behalf , Licensor purpose discussing improving Work, excluding communication conspicuously marked otherwise designated writing copyright owner “Contribution.” “Contributor” shall mean Licensor individual Legal Entity behalf Contribution received Licensor subsequently incorporated within Work.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_2-grant-of-copyright-license","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"2. Grant of Copyright License","title":"Apache License","text":"Subject terms conditions License, Contributor hereby grants perpetual, worldwide, non-exclusive, -charge, royalty-free, irrevocable copyright license reproduce, prepare Derivative Works , publicly display, publicly perform, sublicense, distribute Work Derivative Works Source Object form.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_3-grant-of-patent-license","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"3. Grant of Patent License","title":"Apache License","text":"Subject terms conditions License, Contributor hereby grants perpetual, worldwide, non-exclusive, -charge, royalty-free, irrevocable (except stated section) patent license make, made, use, offer sell, sell, import, otherwise transfer Work, license applies patent claims licensable Contributor necessarily infringed Contribution(s) alone combination Contribution(s) Work Contribution(s) submitted. institute patent litigation entity (including cross-claim counterclaim lawsuit) alleging Work Contribution incorporated within Work constitutes direct contributory patent infringement, patent licenses granted License Work shall terminate date litigation filed.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_4-redistribution","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"4. Redistribution","title":"Apache License","text":"may reproduce distribute copies Work Derivative Works thereof medium, without modifications, Source Object form, provided meet following conditions: () must give recipients Work Derivative Works copy License; (b) must cause modified files carry prominent notices stating changed files; (c) must retain, Source form Derivative Works distribute, copyright, patent, trademark, attribution notices Source form Work, excluding notices pertain part Derivative Works; (d) Work includes “NOTICE” text file part distribution, Derivative Works distribute must include readable copy attribution notices contained within NOTICE file, excluding notices pertain part Derivative Works, least one following places: within NOTICE text file distributed part Derivative Works; within Source form documentation, provided along Derivative Works; , within display generated Derivative Works, wherever third-party notices normally appear. contents NOTICE file informational purposes modify License. may add attribution notices within Derivative Works distribute, alongside addendum NOTICE text Work, provided additional attribution notices construed modifying License. may add copyright statement modifications may provide additional different license terms conditions use, reproduction, distribution modifications, Derivative Works whole, provided use, reproduction, distribution Work otherwise complies conditions stated License.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_5-submission-of-contributions","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"5. Submission of Contributions","title":"Apache License","text":"Unless explicitly state otherwise, Contribution intentionally submitted inclusion Work Licensor shall terms conditions License, without additional terms conditions. Notwithstanding , nothing herein shall supersede modify terms separate license agreement may executed Licensor regarding Contributions.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_6-trademarks","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"6. Trademarks","title":"Apache License","text":"License grant permission use trade names, trademarks, service marks, product names Licensor, except required reasonable customary use describing origin Work reproducing content NOTICE file.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_7-disclaimer-of-warranty","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"7. Disclaimer of Warranty","title":"Apache License","text":"Unless required applicable law agreed writing, Licensor provides Work (Contributor provides Contributions) “” BASIS, WITHOUT WARRANTIES CONDITIONS KIND, either express implied, including, without limitation, warranties conditions TITLE, NON-INFRINGEMENT, MERCHANTABILITY, FITNESS PARTICULAR PURPOSE. solely responsible determining appropriateness using redistributing Work assume risks associated exercise permissions License.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_8-limitation-of-liability","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"8. Limitation of Liability","title":"Apache License","text":"event legal theory, whether tort (including negligence), contract, otherwise, unless required applicable law (deliberate grossly negligent acts) agreed writing, shall Contributor liable damages, including direct, indirect, special, incidental, consequential damages character arising result License use inability use Work (including limited damages loss goodwill, work stoppage, computer failure malfunction, commercial damages losses), even Contributor advised possibility damages.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_9-accepting-warranty-or-additional-liability","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"9. Accepting Warranty or Additional Liability","title":"Apache License","text":"redistributing Work Derivative Works thereof, may choose offer, charge fee , acceptance support, warranty, indemnity, liability obligations /rights consistent License. However, accepting obligations, may act behalf sole responsibility, behalf Contributor, agree indemnify, defend, hold Contributor harmless liability incurred , claims asserted , Contributor reason accepting warranty additional liability. END TERMS CONDITIONS","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"appendix-how-to-apply-the-apache-license-to-your-work","dir":"","previous_headings":"","what":"APPENDIX: How to apply the Apache License to your work","title":"Apache License","text":"apply Apache License work, attach following boilerplate notice, fields enclosed brackets [] replaced identifying information. (Don’t include brackets!) text enclosed appropriate comment syntax file format. also recommend file class name description purpose included “printed page” copyright notice easier identification within third-party archives.","code":"Copyright [yyyy] [name of copyright owner]  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at    http://www.apache.org/licenses/LICENSE-2.0  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License."},{"path":"https://cityriverspaces.github.io/rcoins/articles/using-rcoins.html","id":"tracing-on-the-entire-network","dir":"Articles","previous_headings":"","what":"Tracing on the entire network","title":"Tracing continuous streets using rcoins","text":"run stroke() function default values, strokes calculated network whole. visualise strokes intuitive way, map line weight plot length strokes. thicker line , longer stroke.","code":"# Trace continuous streets continuous_streets <- stroke(streets)"},{"path":"https://cityriverspaces.github.io/rcoins/articles/using-rcoins.html","id":"tracing-from-specified-streets","dir":"Articles","previous_headings":"","what":"Tracing from specified streets","title":"Tracing continuous streets using rcoins","text":"trace continuous streets given set streets, can add edge indices from_edge argument. demonstrate tracing continuous streets crossing river Dâmbovița Bucharest. load river centerline package data. Note input argument angle_threshold sets minimum internal angle consecutive line segments can considered part continuous stroke. plot street network emphasize continuous streets crossing river.","code":"# Load river centerline from example data river_centerline <- bucharest$river_centerline  crossing_edges <- which(st_intersects(streets,                                       river_centerline,                                       sparse = FALSE))  # Trace continuous streets crossing the river continuous_streets_crossing <- stroke(streets, from_edge = crossing_edges,                                       angle_threshold = 120)"},{"path":"https://cityriverspaces.github.io/rcoins/articles/using-rcoins.html","id":"maintaining-the-initial-structure","dir":"Articles","previous_headings":"","what":"Maintaining the initial structure","title":"Tracing continuous streets using rcoins","text":"flow_mode argument allows us maintain initial structure streets. flow_mode = FALSE (default), function split initial streets individual line segments calculate continuous streets purely based minimum angle deviations. flow_mode = TRUE, function break initial line strings, group connect basis minimum angle deviations.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/articles/using-rcoins.html","id":"tracing-with-attributes","dir":"Articles","previous_headings":"","what":"Tracing with attributes","title":"Tracing continuous streets using rcoins","text":"enabling flow_mode attributes arguments, stroke still group streets basis minimum-angle connectivity, return group labels instead new aggregated geometries. useful want keep attributes degree initial streets (“primary”, “secondary”, “tertiary”, etc.) resulting continuous streets calculate, instance, relationship street degree street length.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Francesco Nattino. Author, maintainer. Claudiu Forgaci. Author. Netherlands eScience Center. Funder.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Nattino F, Forgaci C (2024). rcoins: Continuity street networks. R package version 0.1.0, https://cityriverspaces.github.io/rcoins/.","code":"@Manual{,   title = {rcoins: Continuity in street networks},   author = {Francesco Nattino and Claudiu Forgaci},   year = {2024},   note = {R package version 0.1.0},   url = {https://cityriverspaces.github.io/rcoins/}, }"},{"path":"https://cityriverspaces.github.io/rcoins/index.html","id":"rcoins","dir":"","previous_headings":"","what":"Continuity in street networks","title":"Continuity in street networks","text":"Identify continuous lines network using approach based Continuity Steet Network (COINS) method1.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Continuity in street networks","text":"can install development version rcoins R terminal like :","code":"# install.packages(\"devtools\") devtools::install_github(\"CityRiverSpaces/rcoins\")"},{"path":"https://cityriverspaces.github.io/rcoins/index.html","id":"alternative-installation-using-conda","dir":"","previous_headings":"Installation","what":"Alternative installation using conda","title":"Continuity in street networks","text":"environment including rcoins dependencies can created using Conda (faster implementation Mamba). Conda can installed using Miniforge scripts provided (download one Mambaforge scripts order install Mamba well). First clone repository access : Run conda (mamba, using Mambaforge) create environment required dependencies: Install development version rcoins:","code":"git clone https://github.com/CityRiverSpaces/rcoins.git cd rcoins/ conda env create -f environment.yml conda activate rcoins Rscript -e 'devtools::install()'"},{"path":"https://cityriverspaces.github.io/rcoins/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Continuity in street networks","text":"Given street network city Bucharest (data source: OpenStreetMap)  Determine continuous lines network :","code":"library(rcoins) streets <- bucharest$streets plot(sf::st_geometry(streets),      col = sf::sf.colors(n = nrow(streets), categorical = TRUE),      lwd = 5, xlim = c(418500, 437500), ylim = c(4909800, 4931500)) continuous_streets <- stroke(streets) plot(continuous_streets,      col = sf::sf.colors(n = length(continuous_streets), categorical = TRUE),      lwd = 5, xlim = c(418500, 437500), ylim = c(4909800, 4931500))"},{"path":"https://cityriverspaces.github.io/rcoins/index.html","id":"development","dir":"","previous_headings":"","what":"Development","title":"Continuity in street networks","text":"modifying R source code, load library : Run tests locally: Run linter locally:","code":"devtools::load_all() devtools::test() lintr::lint_package()"},{"path":"https://cityriverspaces.github.io/rcoins/reference/bucharest.html","id":null,"dir":"Reference","previous_headings":"","what":"rcoins test data — bucharest","title":"rcoins test data — bucharest","text":"Data extracted OpenStreetMap testing rcoins package.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/reference/bucharest.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"rcoins test data — bucharest","text":"","code":"bucharest"},{"path":"https://cityriverspaces.github.io/rcoins/reference/bucharest.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"rcoins test data — bucharest","text":"object class list length 3.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/reference/bucharest.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"rcoins test data — bucharest","text":"OpenStreetMap","code":""},{"path":"https://cityriverspaces.github.io/rcoins/reference/stroke.html","id":null,"dir":"Reference","previous_headings":"","what":"Identify continuous lines in a network — stroke","title":"Identify continuous lines in a network — stroke","text":"Apply Continuity Street Network (COINS) method identify sequences edges form naturally continuous strokes network.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/reference/stroke.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Identify continuous lines in a network — stroke","text":"","code":"stroke(   edges,   angle_threshold = 0,   attributes = FALSE,   flow_mode = FALSE,   from_edge = NULL )"},{"path":"https://cityriverspaces.github.io/rcoins/reference/stroke.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Identify continuous lines in a network — stroke","text":"edges object class sfc (compatible), including edge geometries (type LINESTRING MULTILINESTRING). angle_threshold Consecutive line segments can considered part stroke internal angle form larger angle_threshold (degrees). fall range \\(0 \\leq angle_threshold < 180\\). attributes TRUE, return label edge, representing groups edge belongs . possible flow_mode = TRUE. flow_mode TRUE, line segments belong edge split across strokes (even form internal angles smaller angle_threshold). from_edge look continuous strokes include provided edges line segments.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/reference/stroke.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Identify continuous lines in a network — stroke","text":"object class sfc (attributes = FALSE), vector length edges otherwise.","code":""},{"path":[]},{"path":"https://cityriverspaces.github.io/rcoins/news/index.html","id":"added-0-1-0","dir":"Changelog","previous_headings":"","what":"Added","title":"Version 0.1.0 - 2024-12-16","text":"First release package","code":""}]
+[{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"Apache License","title":"Apache License","text":"Version 2.0, January 2004 <http://www.apache.org/licenses/>","code":""},{"path":[]},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_1-definitions","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"1. Definitions","title":"Apache License","text":"“License” shall mean terms conditions use, reproduction, distribution defined Sections 1 9 document. “Licensor” shall mean copyright owner entity authorized copyright owner granting License. “Legal Entity” shall mean union acting entity entities control, controlled , common control entity. purposes definition, “control” means () power, direct indirect, cause direction management entity, whether contract otherwise, (ii) ownership fifty percent (50%) outstanding shares, (iii) beneficial ownership entity. “” (“”) shall mean individual Legal Entity exercising permissions granted License. “Source” form shall mean preferred form making modifications, including limited software source code, documentation source, configuration files. “Object” form shall mean form resulting mechanical transformation translation Source form, including limited compiled object code, generated documentation, conversions media types. “Work” shall mean work authorship, whether Source Object form, made available License, indicated copyright notice included attached work (example provided Appendix ). “Derivative Works” shall mean work, whether Source Object form, based (derived ) Work editorial revisions, annotations, elaborations, modifications represent, whole, original work authorship. purposes License, Derivative Works shall include works remain separable , merely link (bind name) interfaces , Work Derivative Works thereof. “Contribution” shall mean work authorship, including original version Work modifications additions Work Derivative Works thereof, intentionally submitted Licensor inclusion Work copyright owner individual Legal Entity authorized submit behalf copyright owner. purposes definition, “submitted” means form electronic, verbal, written communication sent Licensor representatives, including limited communication electronic mailing lists, source code control systems, issue tracking systems managed , behalf , Licensor purpose discussing improving Work, excluding communication conspicuously marked otherwise designated writing copyright owner “Contribution.” “Contributor” shall mean Licensor individual Legal Entity behalf Contribution received Licensor subsequently incorporated within Work.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_2-grant-of-copyright-license","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"2. Grant of Copyright License","title":"Apache License","text":"Subject terms conditions License, Contributor hereby grants perpetual, worldwide, non-exclusive, -charge, royalty-free, irrevocable copyright license reproduce, prepare Derivative Works , publicly display, publicly perform, sublicense, distribute Work Derivative Works Source Object form.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_3-grant-of-patent-license","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"3. Grant of Patent License","title":"Apache License","text":"Subject terms conditions License, Contributor hereby grants perpetual, worldwide, non-exclusive, -charge, royalty-free, irrevocable (except stated section) patent license make, made, use, offer sell, sell, import, otherwise transfer Work, license applies patent claims licensable Contributor necessarily infringed Contribution(s) alone combination Contribution(s) Work Contribution(s) submitted. institute patent litigation entity (including cross-claim counterclaim lawsuit) alleging Work Contribution incorporated within Work constitutes direct contributory patent infringement, patent licenses granted License Work shall terminate date litigation filed.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_4-redistribution","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"4. Redistribution","title":"Apache License","text":"may reproduce distribute copies Work Derivative Works thereof medium, without modifications, Source Object form, provided meet following conditions: () must give recipients Work Derivative Works copy License; (b) must cause modified files carry prominent notices stating changed files; (c) must retain, Source form Derivative Works distribute, copyright, patent, trademark, attribution notices Source form Work, excluding notices pertain part Derivative Works; (d) Work includes “NOTICE” text file part distribution, Derivative Works distribute must include readable copy attribution notices contained within NOTICE file, excluding notices pertain part Derivative Works, least one following places: within NOTICE text file distributed part Derivative Works; within Source form documentation, provided along Derivative Works; , within display generated Derivative Works, wherever third-party notices normally appear. contents NOTICE file informational purposes modify License. may add attribution notices within Derivative Works distribute, alongside addendum NOTICE text Work, provided additional attribution notices construed modifying License. may add copyright statement modifications may provide additional different license terms conditions use, reproduction, distribution modifications, Derivative Works whole, provided use, reproduction, distribution Work otherwise complies conditions stated License.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_5-submission-of-contributions","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"5. Submission of Contributions","title":"Apache License","text":"Unless explicitly state otherwise, Contribution intentionally submitted inclusion Work Licensor shall terms conditions License, without additional terms conditions. Notwithstanding , nothing herein shall supersede modify terms separate license agreement may executed Licensor regarding Contributions.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_6-trademarks","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"6. Trademarks","title":"Apache License","text":"License grant permission use trade names, trademarks, service marks, product names Licensor, except required reasonable customary use describing origin Work reproducing content NOTICE file.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_7-disclaimer-of-warranty","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"7. Disclaimer of Warranty","title":"Apache License","text":"Unless required applicable law agreed writing, Licensor provides Work (Contributor provides Contributions) “” BASIS, WITHOUT WARRANTIES CONDITIONS KIND, either express implied, including, without limitation, warranties conditions TITLE, NON-INFRINGEMENT, MERCHANTABILITY, FITNESS PARTICULAR PURPOSE. solely responsible determining appropriateness using redistributing Work assume risks associated exercise permissions License.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_8-limitation-of-liability","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"8. Limitation of Liability","title":"Apache License","text":"event legal theory, whether tort (including negligence), contract, otherwise, unless required applicable law (deliberate grossly negligent acts) agreed writing, shall Contributor liable damages, including direct, indirect, special, incidental, consequential damages character arising result License use inability use Work (including limited damages loss goodwill, work stoppage, computer failure malfunction, commercial damages losses), even Contributor advised possibility damages.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"id_9-accepting-warranty-or-additional-liability","dir":"","previous_headings":"Terms and Conditions for use, reproduction, and distribution","what":"9. Accepting Warranty or Additional Liability","title":"Apache License","text":"redistributing Work Derivative Works thereof, may choose offer, charge fee , acceptance support, warranty, indemnity, liability obligations /rights consistent License. However, accepting obligations, may act behalf sole responsibility, behalf Contributor, agree indemnify, defend, hold Contributor harmless liability incurred , claims asserted , Contributor reason accepting warranty additional liability. END TERMS CONDITIONS","code":""},{"path":"https://cityriverspaces.github.io/rcoins/LICENSE.html","id":"appendix-how-to-apply-the-apache-license-to-your-work","dir":"","previous_headings":"","what":"APPENDIX: How to apply the Apache License to your work","title":"Apache License","text":"apply Apache License work, attach following boilerplate notice, fields enclosed brackets [] replaced identifying information. (Don’t include brackets!) text enclosed appropriate comment syntax file format. also recommend file class name description purpose included “printed page” copyright notice easier identification within third-party archives.","code":"Copyright [yyyy] [name of copyright owner]  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at    http://www.apache.org/licenses/LICENSE-2.0  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License."},{"path":"https://cityriverspaces.github.io/rcoins/articles/using-rcoins.html","id":"tracing-on-the-entire-network","dir":"Articles","previous_headings":"","what":"Tracing on the entire network","title":"Tracing continuous streets using rcoins","text":"run stroke() function default values, strokes calculated network whole. visualise strokes intuitive way, map line weight plot length strokes. thicker line , longer stroke.","code":"# Trace continuous streets continuous_streets <- stroke(streets)"},{"path":"https://cityriverspaces.github.io/rcoins/articles/using-rcoins.html","id":"tracing-from-specified-streets","dir":"Articles","previous_headings":"","what":"Tracing from specified streets","title":"Tracing continuous streets using rcoins","text":"trace continuous streets given set streets, can add edge indices from_edge argument. demonstrate tracing continuous streets crossing river Dâmbovița Bucharest. load river centerline package data. Note input argument angle_threshold sets minimum internal angle consecutive line segments can considered part continuous stroke. plot street network emphasize continuous streets crossing river.","code":"# Load river centerline from example data river_centerline <- bucharest$river_centerline  crossing_edges <- which(st_intersects(streets,                                       river_centerline,                                       sparse = FALSE))  # Trace continuous streets crossing the river continuous_streets_crossing <- stroke(streets, from_edge = crossing_edges,                                       angle_threshold = 120)"},{"path":"https://cityriverspaces.github.io/rcoins/articles/using-rcoins.html","id":"maintaining-the-initial-structure","dir":"Articles","previous_headings":"","what":"Maintaining the initial structure","title":"Tracing continuous streets using rcoins","text":"flow_mode argument allows us maintain initial structure streets. flow_mode = FALSE (default), function split initial streets individual line segments calculate continuous streets purely based minimum angle deviations. flow_mode = TRUE, function break initial line strings, group connect basis minimum angle deviations.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/articles/using-rcoins.html","id":"tracing-with-attributes","dir":"Articles","previous_headings":"","what":"Tracing with attributes","title":"Tracing continuous streets using rcoins","text":"enabling flow_mode attributes arguments, stroke still group streets basis minimum-angle connectivity, return group labels instead new aggregated geometries. useful want keep attributes degree initial streets (“primary”, “secondary”, “tertiary”, etc.) resulting continuous streets calculate, instance, relationship street degree street length.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Francesco Nattino. Author, maintainer. Claudiu Forgaci. Author. Netherlands eScience Center. Funder.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Nattino F, Forgaci C (2024). rcoins: Continuity street networks. R package version 0.1.0, https://doi.org/10.5281/zenodo.14501805, https://cityriverspaces.github.io/rcoins/.","code":"@Manual{,   title = {rcoins: Continuity in street networks},   author = {Francesco Nattino and Claudiu Forgaci},   year = {2024},   note = {R package version 0.1.0, https://doi.org/10.5281/zenodo.14501805},   url = {https://cityriverspaces.github.io/rcoins/}, }"},{"path":"https://cityriverspaces.github.io/rcoins/index.html","id":"rcoins","dir":"","previous_headings":"","what":"Continuity in street networks","title":"Continuity in street networks","text":"Identify continuous lines network using approach based Continuity Steet Network (COINS) method1.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Continuity in street networks","text":"can install development version rcoins R terminal like :","code":"# install.packages(\"devtools\") devtools::install_github(\"CityRiverSpaces/rcoins\")"},{"path":"https://cityriverspaces.github.io/rcoins/index.html","id":"alternative-installation-using-conda","dir":"","previous_headings":"Installation","what":"Alternative installation using conda","title":"Continuity in street networks","text":"environment including rcoins dependencies can created using Conda (faster implementation Mamba). Conda can installed using Miniforge scripts provided (download one Mambaforge scripts order install Mamba well). First clone repository access : Run conda (mamba, using Mambaforge) create environment required dependencies: Install development version rcoins:","code":"git clone https://github.com/CityRiverSpaces/rcoins.git cd rcoins/ conda env create -f environment.yml conda activate rcoins Rscript -e 'devtools::install()'"},{"path":"https://cityriverspaces.github.io/rcoins/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Continuity in street networks","text":"Given street network city Bucharest (data source: OpenStreetMap)  Determine continuous lines network :","code":"library(rcoins) streets <- bucharest$streets plot(sf::st_geometry(streets),      col = sf::sf.colors(n = nrow(streets), categorical = TRUE),      lwd = 5, xlim = c(418500, 437500), ylim = c(4909800, 4931500)) continuous_streets <- stroke(streets) plot(continuous_streets,      col = sf::sf.colors(n = length(continuous_streets), categorical = TRUE),      lwd = 5, xlim = c(418500, 437500), ylim = c(4909800, 4931500))"},{"path":"https://cityriverspaces.github.io/rcoins/index.html","id":"development","dir":"","previous_headings":"","what":"Development","title":"Continuity in street networks","text":"modifying R source code, load library : Run tests locally: Run linter locally:","code":"devtools::load_all() devtools::test() lintr::lint_package()"},{"path":"https://cityriverspaces.github.io/rcoins/reference/bucharest.html","id":null,"dir":"Reference","previous_headings":"","what":"rcoins test data — bucharest","title":"rcoins test data — bucharest","text":"Data extracted OpenStreetMap testing rcoins package.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/reference/bucharest.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"rcoins test data — bucharest","text":"","code":"bucharest"},{"path":"https://cityriverspaces.github.io/rcoins/reference/bucharest.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"rcoins test data — bucharest","text":"object class list length 3.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/reference/bucharest.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"rcoins test data — bucharest","text":"OpenStreetMap","code":""},{"path":"https://cityriverspaces.github.io/rcoins/reference/stroke.html","id":null,"dir":"Reference","previous_headings":"","what":"Identify continuous lines in a network — stroke","title":"Identify continuous lines in a network — stroke","text":"Apply Continuity Street Network (COINS) method identify sequences edges form naturally continuous strokes network.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/reference/stroke.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Identify continuous lines in a network — stroke","text":"","code":"stroke(   edges,   angle_threshold = 0,   attributes = FALSE,   flow_mode = FALSE,   from_edge = NULL )"},{"path":"https://cityriverspaces.github.io/rcoins/reference/stroke.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Identify continuous lines in a network — stroke","text":"edges object class sfc (compatible), including edge geometries (type LINESTRING MULTILINESTRING). angle_threshold Consecutive line segments can considered part stroke internal angle form larger angle_threshold (degrees). fall range \\(0 \\leq angle_threshold < 180\\). attributes TRUE, return label edge, representing groups edge belongs . possible flow_mode = TRUE. flow_mode TRUE, line segments belong edge split across strokes (even form internal angles smaller angle_threshold). from_edge look continuous strokes include provided edges line segments.","code":""},{"path":"https://cityriverspaces.github.io/rcoins/reference/stroke.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Identify continuous lines in a network — stroke","text":"object class sfc (attributes = FALSE), vector length edges otherwise.","code":""},{"path":[]},{"path":"https://cityriverspaces.github.io/rcoins/news/index.html","id":"added-0-1-0","dir":"Changelog","previous_headings":"","what":"Added","title":"Version 0.1.0 - 2024-12-16","text":"First release package","code":""}]