IDEAS home Printed from
   My bibliography  Save this paper

Economic Geography in R: Introduction to the EconGeo package


  • Pierre-Alexandre Balland



The R statistical software is increasingly used to perform analysis on the spatial distribution of economic activities. It contains state-of-the-art statistical and graphical routines not yet available in other software such as SAS, Stata, or SPSS. R is also free and open-source. Many graduate students and researchers, however, find programming in R either too challenging or end up spending a lot of their precious time solving trivial programming tasks. This paper is a simple introduction on how to do economic geography in R using the EconGeo package (Balland, 2017). Users do not need extensive programming skills to use it. EconGeo allows to easily compute a series of indices commonly used in the fields of economic geography, economic complexity, and evolutionary economics to describe the location, distribution, spatial organization, structure, and complexity of economic activities. Functions include basic spatial indicators such as the location quotient, the Krugman specialization index, the Herfindahl or the Shannon entropy indices but also more advanced functions to compute different forms of normalized relatedness between economic activities or network-based measures of economic complexity. By opening and sharing the codes used to compute popular indicators of the spatial distribution of economic activities, one of the goals of this package is to make peer-reviewed empirical studies more reproducible by a large community of researchers.

Suggested Citation

  • Pierre-Alexandre Balland, 2017. "Economic Geography in R: Introduction to the EconGeo package," Papers in Evolutionary Economic Geography (PEEG) 1709, Utrecht University, Department of Human Geography and Spatial Planning, Group Economic Geography, revised May 2017.
  • Handle: RePEc:egu:wpaper:1709

    Download full text from publisher

    File URL:
    File Function: Version May 2017
    Download Restriction: no


    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.

    Cited by:

    1. Milad Abbasiharofteh & Dieter F. Kogler & Balazs Lengyel, 2020. "Atypical combination of technologies in regional co-inventor networks," Papers in Evolutionary Economic Geography (PEEG) 2055, Utrecht University, Department of Human Geography and Spatial Planning, Group Economic Geography, revised Nov 2020.
    2. Zhaoyingzi Dong & Yingcheng Li & Pierre-Alexandre Balland & Siqi Zheng, 2019. "Industrial Land Policy and Economic Complexity of Chinese Cities," Papers in Evolutionary Economic Geography (PEEG) 1916, Utrecht University, Department of Human Geography and Spatial Planning, Group Economic Geography, revised May 2019.

    More about this item


    Economic Geography; Economic Complexity; Evolutionary Economics; Network Science; R; EconGeo package;

    NEP fields

    This paper has been announced in the following NEP Reports:


    Access and download statistics


    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:egu:wpaper:1709. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: () The email address of this maintainer does not seem to be valid anymore. Please ask to update the entry or send us the correct email address. General contact details of provider: .

    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 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.

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

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.