Geocomputation with R


Book Description

Geocomputation with R is for people who want to analyze, visualize and model geographic data with open source software. It is based on R, a statistical programming language that has powerful data processing, visualization, and geospatial capabilities. The book equips you with the knowledge and skills to tackle a wide range of issues manifested in geographic data, including those with scientific, societal, and environmental implications. This book will interest people from many backgrounds, especially Geographic Information Systems (GIS) users interested in applying their domain-specific knowledge in a powerful open source language for data science, and R users interested in extending their skills to handle spatial data. The book is divided into three parts: (I) Foundations, aimed at getting you up-to-speed with geographic data in R, (II) extensions, which covers advanced techniques, and (III) applications to real-world problems. The chapters cover progressively more advanced topics, with early chapters providing strong foundations on which the later chapters build. Part I describes the nature of spatial datasets in R and methods for manipulating them. It also covers geographic data import/export and transforming coordinate reference systems. Part II represents methods that build on these foundations. It covers advanced map making (including web mapping), "bridges" to GIS, sharing reproducible code, and how to do cross-validation in the presence of spatial autocorrelation. Part III applies the knowledge gained to tackle real-world problems, including representing and modeling transport systems, finding optimal locations for stores or services, and ecological modeling. Exercises at the end of each chapter give you the skills needed to tackle a range of geospatial problems. Solutions for each chapter and supplementary materials providing extended examples are available at https://geocompr.github.io/geocompkg/articles/.




Applied Spatial Data Analysis with R


Book Description

Applied Spatial Data Analysis with R, second edition, is divided into two basic parts, the first presenting R packages, functions, classes and methods for handling spatial data. This part is of interest to users who need to access and visualise spatial data. Data import and export for many file formats for spatial data are covered in detail, as is the interface between R and the open source GRASS GIS and the handling of spatio-temporal data. The second part showcases more specialised kinds of spatial data analysis, including spatial point pattern analysis, interpolation and geostatistics, areal data analysis and disease mapping. The coverage of methods of spatial data analysis ranges from standard techniques to new developments, and the examples used are largely taken from the spatial statistics literature. All the examples can be run using R contributed packages available from the CRAN website, with code and additional data sets from the book's own website. Compared to the first edition, the second edition covers the more systematic approach towards handling spatial data in R, as well as a number of important and widely used CRAN packages that have appeared since the first edition. This book will be of interest to researchers who intend to use R to handle, visualise, and analyse spatial data. It will also be of interest to spatial data analysts who do not use R, but who are interested in practical aspects of implementing software for spatial data analysis. It is a suitable companion book for introductory spatial statistics courses and for applied methods courses in a wide range of subjects using spatial data, including human and physical geography, geographical information science and geoinformatics, the environmental sciences, ecology, public health and disease control, economics, public administration and political science. The book has a website where complete code examples, data sets, and other support material may be found: http://www.asdar-book.org. The authors have taken part in writing and maintaining software for spatial data handling and analysis with R in concert since 2003.




An Introduction to R for Spatial Analysis and Mapping


Book Description

"In an age of big data, data journalism and with a wealth of quantitative information around us, it is not enough for students to be taught only 100 year old statistical methods using ′out of the box′ software. They need to have 21st-century analytical skills too. This is an excellent and student-friendly text from two of the world leaders in the teaching and development of spatial analysis. It shows clearly why the open source software R is not just an alternative to commercial GIS, it may actually be the better choice for mapping, analysis and for replicable research. Providing practical tips as well as fully working code, this is a practical ′how to′ guide ideal for undergraduates as well as those using R for the first time. It will be required reading on my own courses." - Richard Harris, Professor of Quantitative Social Science, University of Bristol R is a powerful open source computing tool that supports geographical analysis and mapping for the many geography and ‘non-geography’ students and researchers interested in spatial analysis and mapping. This book provides an introduction to the use of R for spatial statistical analysis, geocomputation and the analysis of geographical information for researchers collecting and using data with location attached, largely through increased GPS functionality. Brunsdon and Comber take readers from ‘zero to hero’ in spatial analysis and mapping through functions they have developed and compiled into R packages. This enables practical R applications in GIS, spatial analyses, spatial statistics, mapping, and web-scraping. Each chapter includes: Example data and commands for exploring it Scripts and coding to exemplify specific functionality Advice for developing greater understanding - through functions such as locator(), View(), and alternative coding to achieve the same ends Self-contained exercises for students to work through Embedded code within the descriptive text. This is a definitive ′how to′ that takes students - of any discipline - from coding to actual applications and uses of R.




Geographical Data Science and Spatial Data Analysis


Book Description

We are in an age of big data where all of our everyday interactions and transactions generate data. Much of this data is spatial – it is collected some-where – and identifying analytical insight from trends and patterns in these increasing rich digital footprints presents a number of challenges. Whilst other books describe different flavours of Data Analytics in R and other programming languages, there are none that consider Spatial Data (i.e. the location attached to data), or that consider issues of inference, linking Big Data, Geography, GIS, Mapping and Spatial Analytics. This is a ‘learning by doing’ textbook, building on the previous book by the same authors, An Introduction to R for Spatial Analysis and Mapping. It details the theoretical issues in analyses of Big Spatial Data and developing practical skills in the reader for addressing these with confidence.




An Introduction to Spatial Data Analysis


Book Description

This is a book about how ecologists can integrate remote sensing and GIS in their research. It will allow readers to get started with the application of remote sensing and to understand its potential and limitations. Using practical examples, the book covers all necessary steps from planning field campaigns to deriving ecologically relevant information through remote sensing and modelling of species distributions. An Introduction to Spatial Data Analysis introduces spatial data handling using the open source software Quantum GIS (QGIS). In addition, readers will be guided through their first steps in the R programming language. The authors explain the fundamentals of spatial data handling and analysis, empowering the reader to turn data acquired in the field into actual spatial data. Readers will learn to process and analyse spatial data of different types and interpret the data and results. After finishing this book, readers will be able to address questions such as “What is the distance to the border of the protected area?”, “Which points are located close to a road?”, “Which fraction of land cover types exist in my study area?” using different software and techniques. This book is for novice spatial data users and does not assume any prior knowledge of spatial data itself or practical experience working with such data sets. Readers will likely include student and professional ecologists, geographers and any environmental scientists or practitioners who need to collect, visualize and analyse spatial data. The software used is the widely applied open source scientific programs QGIS and R. All scripts and data sets used in the book will be provided online at book.ecosens.org. This book covers specific methods including: what to consider before collecting in situ data how to work with spatial data collected in situ the difference between raster and vector data how to acquire further vector and raster data how to create relevant environmental information how to combine and analyse in situ and remote sensing data how to create useful maps for field work and presentations how to use QGIS and R for spatial analysis how to develop analysis scripts




Geospatial Health Data


Book Description

Geospatial health data are essential to inform public health and policy. These data can be used to quantify disease burden, understand geographic and temporal patterns, identify risk factors, and measure inequalities. Geospatial Health Data: Modeling and Visualization with R-INLA and Shiny describes spatial and spatio-temporal statistical methods and visualization techniques to analyze georeferenced health data in R. The book covers the following topics: Manipulate and transform point, areal, and raster data, Bayesian hierarchical models for disease mapping using areal and geostatistical data, Fit and interpret spatial and spatio-temporal models with the Integrated Nested Laplace Approximations (INLA) and the Stochastic Partial Differential Equation (SPDE) approaches, Create interactive and static visualizations such as disease maps and time plots, Reproducible R Markdown reports, interactive dashboards, and Shiny web applications that facilitate the communication of insights to collaborators and policy makers. The book features fully reproducible examples of several disease and environmental applications using real-world data such as malaria in The Gambia, cancer in Scotland and USA, and air pollution in Spain. Examples in the book focus on health applications, but the approaches covered are also applicable to other fields that use georeferenced data including epidemiology, ecology, demography or criminology. The book provides clear descriptions of the R code for data importing, manipulation, modeling and visualization, as well as the interpretation of the results. This ensures contents are fully reproducible and accessible for students, researchers and practitioners.




Spatial Modeling in GIS and R for Earth and Environmental Sciences


Book Description

Spatial Modeling in GIS and R for Earth and Environmental Sciences offers an integrated approach to spatial modelling using both GIS and R. Given the importance of Geographical Information Systems and geostatistics across a variety of applications in Earth and Environmental Science, a clear link between GIS and open source software is essential for the study of spatial objects or phenomena that occur in the real world and facilitate problem-solving. Organized into clear sections on applications and using case studies, the book helps researchers to more quickly understand GIS data and formulate more complex conclusions. The book is the first reference to provide methods and applications for combining the use of R and GIS in modeling spatial processes. It is an essential tool for students and researchers in earth and environmental science, especially those looking to better utilize GIS and spatial modeling. - Offers a clear, interdisciplinary guide to serve researchers in a variety of fields, including hazards, land surveying, remote sensing, cartography, geophysics, geology, natural resources, environment and geography - Provides an overview, methods and case studies for each application - Expresses concepts and methods at an appropriate level for both students and new users to learn by example




Spatial Data Analysis in Ecology and Agriculture Using R


Book Description

Key features: Unique in its combination of serving as an introduction to spatial statistics and to modeling agricultural and ecological data using R Provides exercises in each chapter to facilitate the book's use as a course textbook or for self-study Adds new material on generalized additive models, point pattern analysis, and new methods of Bayesian analysis of spatial data. Includes a completely revised chapter on the analysis of spatiotemporal data featuring recently introduced software and methods Updates its coverage of R software including newly introduced packages Spatial Data Analysis in Ecology and Agriculture Using R, 2nd Edition provides practical instruction on the use of the R programming language to analyze spatial data arising from research in ecology, agriculture, and environmental science. Readers have praised the book's practical coverage of spatial statistics, real-world examples, and user-friendly approach in presenting and explaining R code, aspects maintained in this update. Using data sets from cultivated and uncultivated ecosystems, the book guides the reader through the analysis of each data set, including setting research objectives, designing the sampling plan, data quality control, exploratory and confirmatory data analysis, and drawing scientific conclusions. Additional material to accompany the book, on both analyzing satellite data and on multivariate analysis, can be accessed at https: //www.plantsciences.ucdavis.edu/plant/additionaltopics.htm.




Spatial Data Analysis in the Social and Environmental Sciences


Book Description

Within both the social and environmental sciences, much of the data collected is within a spatial context and requires statistical analysis for interpretation. The purpose of this book is to describe current methods for the analysis of spatial data. Methods described include data description, map interpolation, and exploratory and explanatory analyses. The book also examines spatial referencing, and methods for detecting problems, assessing their seriousness and taking appropriate action are discussed. This is an important text for any discipline requiring a broad overview of current theoretical and applied work for the analysis of spatial data sets. It will be of particular use to research workers and final year undergraduates in the fields of geography, environmental sciences and social sciences.




Learning R for Geospatial Analysis


Book Description

This book is intended for anyone who wants to learn how to efficiently analyze geospatial data with R, including GIS analysts, researchers, educators, and students who work with spatial data and who are interested in expanding their capabilities through programming. The book assumes familiarity with the basic geographic information concepts (such as spatial coordinates), but no prior experience with R and/or programming is required. By focusing on R exclusively, you will not need to depend on any external software—a working installation of R is all that is necessary to begin.