This GitHub repository refers to the dataset in the Zenodo repository Building age map, Vienna, around 1920.
This GitHub repository provides supplementary material as followed.
-
Codebook. The Codebook specifies the data format, the data fields and comments on the data fields of the datasets BSM_1920.shp and the attribute table BSM_1920_attribute_table.csv. The Codebook is available in a PDF version for end-users as well as R Markdown file for those who want to use and re-use the Codebook.
-
Usage code. The R Markdown file allows the following to be reproduced.
- The “BSM_1920_attribute_table.csv” includes 28 data fields (= columns), including 22 stage 1 and 6 stage 2 data fields (see Background data.xlsx, tab "DD_OOT2"). The stage 1 data fields were generated by using external data sources and are used to compute the data records in stage 2 data fields. This usage code imports the 22 stage 1 data fields from “../02_Zenodo/BSM_1920_attribute_table.csv”, computes the 6 stage 2 data fields and exports all 28 data fields to “../03_Output/BSM_1920_attribute_table.csv”. The usage code can be adapted to change the data records for secondary data fields. For instance, the period of construction “PoC” records can be defined by re-categorizing the construction dates.
- The usage code reproduces Figures presented in the corresponding article.
- The usage code reproduces the aforementioned Codebook.
The usage code also available in a readable online version for end-users.
- Background data. The file Background_data.xlsx is a compilation of tables and datasets. The sheet "Content page" provides and overview, descriptions and references for the included data
Instruction to execute the R Markdown files
- Download R and install it on your desktop.
- Download R-Studio and install in on your desktop.
- Download the data repositories Building age map, Vienna, around 1920 and City boundary and urban district boundaries, Vienna, 1920, unpack the sub-directories and save them to a local directory on your desktop (e.g. ../building.map_1920/02_Zenodo/).
- Download the GitHub repository and save the files to a local directory on your desktop (e.g. ../building_map/01_Github/). Alternatively, you can connect R Studio to GitHub (instructions).
- Open R-Studio and load the R project file "building.map_1920.Rproj" from from your local directory (e.g. ../building.map_1920/01_Github/).
- Create a new directory to save the output files (e.g. ../building.map_1920/03_Output/)
- Specify the path name of your local directory in the chunk "specify_inputs" of the R Markdown files "Codebook.Rmd" and "Usage_code.Rmd".
- Execute the R Markdown files in R-Studio.
- The R Markdown files can be fed to bookdown to generate a readable HTML file.
Acknowledgements
This research received funding from the Austrian Science Fund (FWF): I 3148-G29 and the Austrian Research Promotion Agency (FFG): 876258.