Cargando…
Displaying R spatial statistics on Google dynamic maps with web applications created by Rwui
BACKGROUND: The R project includes a large variety of packages designed for spatial statistics. Google dynamic maps provide web based access to global maps and satellite imagery. We describe a method for displaying directly the spatial output from an R script on to a Google dynamic map. METHODS: Thi...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
BioMed Central
2012
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3548681/ https://www.ncbi.nlm.nih.gov/pubmed/22998945 http://dx.doi.org/10.1186/1476-072X-11-41 |
_version_ | 1782256345517391872 |
---|---|
author | Newton, Richard Deonarine, Andrew Wernisch, Lorenz |
author_facet | Newton, Richard Deonarine, Andrew Wernisch, Lorenz |
author_sort | Newton, Richard |
collection | PubMed |
description | BACKGROUND: The R project includes a large variety of packages designed for spatial statistics. Google dynamic maps provide web based access to global maps and satellite imagery. We describe a method for displaying directly the spatial output from an R script on to a Google dynamic map. METHODS: This is achieved by creating a Java based web application which runs the R script and then displays the results on the dynamic map. In order to make this method easy to implement by those unfamiliar with programming Java based web applications, we have added the method to the options available in the R Web User Interface (Rwui) application. Rwui is an established web application for creating web applications for running R scripts. A feature of Rwui is that all the code for the web application being created is generated automatically so that someone with no knowledge of web programming can make a fully functional web application for running an R script in a matter of minutes. RESULTS: Rwui can now be used to create web applications that will display the results from an R script on a Google dynamic map. Results may be displayed as discrete markers and/or as continuous overlays. In addition, users of the web application may select regions of interest on the dynamic map with mouse clicks and the coordinates of the region of interest will automatically be made available for use by the R script. CONCLUSIONS: This method of displaying R output on dynamic maps is designed to be of use in a number of areas. Firstly it allows statisticians, working in R and developing methods in spatial statistics, to easily visualise the results of applying their methods to real world data. Secondly, it allows researchers who are using R to study health geographics data, to display their results directly onto dynamic maps. Thirdly, by creating a web application for running an R script, a statistician can enable users entirely unfamiliar with R to run R coded statistical analyses of health geographics data. Fourthly, we envisage an educational role for such applications. |
format | Online Article Text |
id | pubmed-3548681 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2012 |
publisher | BioMed Central |
record_format | MEDLINE/PubMed |
spelling | pubmed-35486812013-02-04 Displaying R spatial statistics on Google dynamic maps with web applications created by Rwui Newton, Richard Deonarine, Andrew Wernisch, Lorenz Int J Health Geogr Research BACKGROUND: The R project includes a large variety of packages designed for spatial statistics. Google dynamic maps provide web based access to global maps and satellite imagery. We describe a method for displaying directly the spatial output from an R script on to a Google dynamic map. METHODS: This is achieved by creating a Java based web application which runs the R script and then displays the results on the dynamic map. In order to make this method easy to implement by those unfamiliar with programming Java based web applications, we have added the method to the options available in the R Web User Interface (Rwui) application. Rwui is an established web application for creating web applications for running R scripts. A feature of Rwui is that all the code for the web application being created is generated automatically so that someone with no knowledge of web programming can make a fully functional web application for running an R script in a matter of minutes. RESULTS: Rwui can now be used to create web applications that will display the results from an R script on a Google dynamic map. Results may be displayed as discrete markers and/or as continuous overlays. In addition, users of the web application may select regions of interest on the dynamic map with mouse clicks and the coordinates of the region of interest will automatically be made available for use by the R script. CONCLUSIONS: This method of displaying R output on dynamic maps is designed to be of use in a number of areas. Firstly it allows statisticians, working in R and developing methods in spatial statistics, to easily visualise the results of applying their methods to real world data. Secondly, it allows researchers who are using R to study health geographics data, to display their results directly onto dynamic maps. Thirdly, by creating a web application for running an R script, a statistician can enable users entirely unfamiliar with R to run R coded statistical analyses of health geographics data. Fourthly, we envisage an educational role for such applications. BioMed Central 2012-09-24 /pmc/articles/PMC3548681/ /pubmed/22998945 http://dx.doi.org/10.1186/1476-072X-11-41 Text en Copyright ©2012 Newton et al.; licensee BioMed Central Ltd. http://creativecommons.org/licenses/by/2.0 This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. |
spellingShingle | Research Newton, Richard Deonarine, Andrew Wernisch, Lorenz Displaying R spatial statistics on Google dynamic maps with web applications created by Rwui |
title | Displaying R spatial statistics on Google dynamic maps with web applications created by Rwui |
title_full | Displaying R spatial statistics on Google dynamic maps with web applications created by Rwui |
title_fullStr | Displaying R spatial statistics on Google dynamic maps with web applications created by Rwui |
title_full_unstemmed | Displaying R spatial statistics on Google dynamic maps with web applications created by Rwui |
title_short | Displaying R spatial statistics on Google dynamic maps with web applications created by Rwui |
title_sort | displaying r spatial statistics on google dynamic maps with web applications created by rwui |
topic | Research |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3548681/ https://www.ncbi.nlm.nih.gov/pubmed/22998945 http://dx.doi.org/10.1186/1476-072X-11-41 |
work_keys_str_mv | AT newtonrichard displayingrspatialstatisticsongoogledynamicmapswithwebapplicationscreatedbyrwui AT deonarineandrew displayingrspatialstatisticsongoogledynamicmapswithwebapplicationscreatedbyrwui AT wernischlorenz displayingrspatialstatisticsongoogledynamicmapswithwebapplicationscreatedbyrwui |