This repository holds the source code for the Spatial Analysis website developed by the Center for Spatial Data Science at the University of Chicago. It is built using the R package blogdown
.
This website was developed through the efforts of Luc Anselin, Grant Morrison, and Angela Li. Questions and feedback can be directed to us by filing an issue in this repository.
A joint initiative of the Division of Social Sciences and the Computation Institute, the Center for Spatial Data Science (CSDS) develops state-of-the-art methods for geospatial analysis, spatial econometrics, and geo-visualization; implements them through open source software tools; applies them to policy-relevant research in the social sciences; and disseminates them through training and support to a growing worldwide community of over 200,000 spatial analysts. As of July 1, 2016, CSDS succeeds the GeoDa Center for Geospatial Analysis and Computation at Arizona State University.
The University of Chicago is a private, nondenominational, culturally rich and ethnically diverse coeducational research university located in Hyde Park, Chicago. The University of Chicago is an urban research university that has driven new ways of thinking since 1890. Our commitment to free and open inquiry draws inspired scholars to our global campuses, where ideas are born that challenge and change the world.
Thanks to Chris Prener and Mine Centinkaya-Rundel for providing ideas for the structure of this blogdown website, as well as the Earth Lab at University of Colorado for inspiring development of this site.
Note: Don't track or commit the public
folder on the hugo branch!
After making changes on the hugo
branch, committing, and pushing them, run
bash deploy.sh
to update the site. There's a nasty combination of Github subtrees and branches underlying this site, because Hugo doesn't work super well with Github pages.
- When in doubt, edit
config.toml
, for sitewide settings like the website title, headers, and footers, and to add new menu navigation. - To update page content, add to the
content
folder. - To update page formatting, go to the
layouts
folder. You can copy and modify the original HTML layout files fromthemes/hugo-smorg/layouts
. - Don't edit the
public
folder! (The stuff in there is automatically generated from the files incontent
.) - Images for pages and posts as well as logo files are stored in the
static
folder. Use the RStudioblogdown
addin to insert images easily. - To include a pure
html
file, add it to thestatic/html
folder, and link to it withhtml/name-of-file.html
If things are going awry, uncomment setup.sh
and run it, then follow the same process as detailed above.