The goal of gisruk-rmd is to provide a template for GISRUK paper submissions that enables reproducible manuscripts to be submitted with embedded R, Python or other code, based on the RMarkdown superset of LaTeX. At some point it may also work with ‘.qmd’ Quarto documents, which allows conversion to and from IPython notebooks.
It will create nicely formatted pdf documents, like this: https://github.com/Robinlovelace/gisruk-rmd/releases/download/0.22/example-paper.pdf and this README as a PDF in GISRUK’s style.
Reproduce that file and create your own reproducible geographic data analysis paper as follows:
- Edit the example-paper.Rmd or README.Rmd file, e.g. by downloading this repo as a .zip file, unzipping it, opening the RStudio project and entering the following into the console:
file.edit("example-paper.Rmd")
- Edit the minimal abstract and authors section in the updated
GISRUKPaperTemplate.tex
file, e.g. with:
file.edit("GISRUKPaperTemplate.tex")
When you’d like to see if it works, run the following command (you might have to install tinytex
package first):
rmarkdown::render("example-paper.Rmd")
You can also press Ctrl+Shift+K in RStudio, which should result in something like this:
To produce this document the original LaTeX template was downloaded as follows:
wget http://leeds.gisruk.org/paper_templates/GISRUKPaperTemplate2015-Latex.zip
unzip GISRUK*
See commits to see how it was modified to work as a .Rmd template.
To show it can output in any format the below is a modified example from the original. See Python code below, which results in Figure 1.1.
import matplotlib.pyplot as plt
import geopandas
from cartopy import crs as ccrs
path = geopandas.datasets.get_path('naturalearth_lowres')
df = geopandas.read_file(path)
# Add a column we'll use later
df['gdp_pp'] = df['gdp_md_est'] / df['pop_est']
df.plot()
The purpose of providing these notes is to standardise the format of the short papers submitted to GISRUK 2022. These notes are based on author guidelines previously produced for the GISRUK conference series which in turn were based on other guidelines.
The pages should have margins of 2.5 cm all round. The base font should be Times New Roman 11pt, or closest equivalent and text should be single spaced. Each section of the paper should be numbered. Section headings should be left-justified and given in bold type. A slightly larger font should be used for the title of the paper and the authors (16pt and 14pt respectively). The first line of each paragraph in each section should NOT be indented.
Sub-sections should also be numbered as shown here. The sub-section heading should be left-justified and given in bold type (11pt).
Equations should be centred on the page and numbered consecutively in the right-hand margin, as below. They should be referred to in the text as Equation firstequation.
E = m**c2
Figures should be presented as an integral part of the paper and should be referred to as Figure firstfigure in the text.
A list of references cited should be provided at the end of the paper using the Harvard format as shown below. Citations of these within the text should be given as follows: papers such as (Openshaw 1991) or a paper by Rey (2009).
Books can also be cited (Graser 2014).
Papers should be submitted in unrestricted pdf format. Authors are requested to keep to the word limit of 1500 words.
Acknowledgement should be made of any funding bodies who have supported the work reported in the paper, of those who have given permission for their work to be reproduced or of individuals whose particular assistance is due recognition. Acknowledge data providers here where appropriate.
All contributing authors should include a biography of no more than 50 words each outlining their career stage and research interests.
Graser, Anita. 2014. Learning Qgis. Packt Publishing Ltd.
Openshaw, Stan. 1991. “A View on the GIS Crisis in Geography, or, Using GIS to Put Humpty-Dumpty Back Together Again.” Environment and Planning A 23 (5): 621–28.
Rey, Sergio J. 2009. “Show Me the Code: Spatial Analysis and Open Source.” Journal of Geographical Systems 11 (2): 191–207.