IDEAS home Printed from https://ideas.repec.org/a/sae/envirb/v52y2025i2p509-517.html
   My bibliography  Save this article

Spnaf: An R package for analyzing and mapping the hotspots of flow datasets

Author

Listed:
  • Hui Jeong Ha
  • Youngbin Lee
  • Kyusik Kim
  • Sohyun Park
  • Jinhyung Lee

Abstract

This paper introduces {spnaf} (spatial network autocorrelation for flows), an R package designed for the hotspot analysis of flow (e.g., human mobility, transportation, and animal movement) datasets based on Berglund and Karlström’s G index. We demonstrate the utility of the {spnaf} package through two example analyses by data forms: 1) bike-sharing trip patterns in Columbus, Ohio, USA, using polygon data, and 2) U.S. airports’ passenger travel patterns, using point data. The {spnaf} is available for download from the Comprehensive R Archive Network (CRAN), which contains a vignette and sample data/code for immediate use. This package addresses limitations in existing spatial analysis packages and emphasizes its efficiency in detecting flow hotspots. It is highly applicable in various urban and geographic data science applications. {spnaf} is still in its early stages and we hope that interested readers can contribute to the development and enhancement of the package.

Suggested Citation

  • Hui Jeong Ha & Youngbin Lee & Kyusik Kim & Sohyun Park & Jinhyung Lee, 2025. "Spnaf: An R package for analyzing and mapping the hotspots of flow datasets," Environment and Planning B, , vol. 52(2), pages 509-517, February.
  • Handle: RePEc:sae:envirb:v:52:y:2025:i:2:p:509-517
    DOI: 10.1177/23998083241276021
    as

    Download full text from publisher

    File URL: https://journals.sagepub.com/doi/10.1177/23998083241276021
    Download Restriction: no

    File URL: https://libkey.io/10.1177/23998083241276021?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:sae:envirb:v:52:y:2025:i:2:p:509-517. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: SAGE Publications (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.