Modelling Marti

Quantitative Text Analysis for Swiss Planning History

Author
Affiliation

Moritz Twente

Universität Basel

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.

GitHub issues GitHub stars Code license Data license DOI Zotero

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 file
  • data/: article data and geodata
  • docs/: article metadata, biography timeline, list of works by Marti, project documentation
  • report/: report on the data set and analysis
  • src/: 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 install

Set up the R environment using renv:

npm run setup

Use

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 check

Format all files.

npm run format

Run the wizard to write meaningful commit messages.

npm run commit

Run the wizard to create a CHANGELOG.md.

npm run changelog

Preview the documentation.

quarto preview

These 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.

Authors and acknowledgment

  • Moritz Twentemtwente: Initial work

See also the list of contributors who contributed to this project.

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.

Back to top