Modelling Marti
Quantitative Text Analysis for Swiss Planning History
This repository contains a quantitative text analysis of publications by Hans Marti. Being one of the first spatial planners in Switzerland, his publications offer insights into the institutionalisation of planning in Switzerland. The data in this repository is openly available to everyone and is intended to support reproducible research.
Repository Structure
The structure of this repository follows the Advanced Structure for Data Analysis of The Turing Way and is organized as follows:
assets/: images, fonts, bibliography etc.build/: built corpus filedata/: article data and geodatadocs/: article metadata, biography timeline, list of works by Marti, project documentationreport/: report on the data set and analysissrc/: source code for the data (e.g., scripts used to collect or process the data)
Data Description
For this project, a corpus of journal/newspaper articles is used to carry out a quantitative analysis of publications by Hans Marti. Scripts used in this analysis are available in src for reproduction in R using renv. During the workflow, publications are stored in data/clean/ as individual txt files, and the resulting corpus object is exported to build/ as csv file with corresponding metadata. Refer to the analysis (in German) for details and consult the data documentation for data models and for a summary of data sources. Additionally, a bibliography is available on Zotero.
Installation
Install Node.js, Quarto and R. Run the following commands in the root directory of the repository:
npm installSet up the R environment using renv:
npm run setupUse
Scrape all articles specified in docs/articles_metadata.csv and store them in data/ by executing the script sequence in src/.
Check that all files are properly formatted.
npm run checkFormat all files.
npm run formatRun the wizard to write meaningful commit messages.
npm run commitRun the wizard to create a CHANGELOG.md.
npm run changelogPreview the documentation.
quarto previewThese data are openly available to everyone and can be used for any research or educational purpose. If you use this data in your research, please cite as specified in CITATION.cff. Additional metadata formats such as DublinCore or JSON-LD are available via Zenodo either by export from the record page or using the API (REST & OAI-PMH).
Support
This project is maintained by @mtwente. Please understand that we can’t provide individual support via email. We also believe that help is much more valuable when it’s shared publicly, so more people can benefit from it.
| Type | Platforms |
|---|---|
| 🚨 Bug Reports | GitHub Issue Tracker |
| 📊 Report bad data | GitHub Issue Tracker |
| 📚 Docs Issue | GitHub Issue Tracker |
| 🎁 Feature Requests | GitHub Issue Tracker |
| 🛡 Report a security vulnerability | See SECURITY.md |
| 💬 General Questions | GitHub Discussions |
Roadmap
No changes are currently planned.
Contributing
All contributions to this repository are welcome! If you find errors or problems with the data, or if you want to add new data or features, please open an issue or pull request. Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
Versioning
We use SemVer for versioning. The available versions are listed in the tags on this repository.
License
The report in this repository is released under the Creative Commons Attribution 4.0 International (CC BY 4.0) License - see the LICENSE-CCBY file for details. By using this data, you agree to give appropriate credit to the original author(s) and to indicate if any modifications have been made. This licensing does not apply to any third-party material included in the repository, particularly the newspaper articles making up the corpus.
The code in this repository is released under the GNU Affero General Public License v3.0 - see the LICENSE-AGPL file for details. By using this code, you agree to make any modifications available under the same license.
