sgb-figures

Figures, Code & Data for Stadt.Geschichte.Basel

https://github.com/stadt-geschichte-basel/sgb-figures

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.9%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Figures, Code & Data for Stadt.Geschichte.Basel

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • Open Issues: 6
  • Releases: 0
Created 12 months ago · Last pushed 8 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation Security

README.md

sgb-figures

This repository contains code and data for creating plots used in the Stadt.Geschichte.Basel research project. The data in this repository is openly available to everyone and is intended to support reproducible research.

GitHub issues GitHub forks GitHub stars Code license Plot license

Repository Structure

The structure of this repository follows the Advanced Structure for Data Analysis of The Turing Way and is organized as follows:

  • build/: scripts and notebooks used to build the data
  • data/: data files
  • docs/: documentation for the data and the repository
  • output/: generated PDF files
  • src/: source code for the data (e.g., scripts used to collect or process the data)

Data Description

This repository stores data and R code used by the Team for Research Data Management and Public History of the Stadt.Geschichte.Basel research project to create figures published in the nine-volume book series.

One task of the Stadt.Geschichte.Basel RDM team is to provide visualisations for data used by the individual authors to support their arguments. Using raw data provided by the researchers, the RDM team created maps, diagrams and other types of visualisations for publication in the print and online (OA) versions of Stadt.Geschichte.Basel.

To support open research with FAIR data, the RDM team developed a research data platform to ensure open, long-term access to sources and research data regarding the history of Basel. The platform facilitates access to the data behind the publication, with metadata annotation following the Manual for Creating Non-Discriminatory Metadata for Historical Sources and Research Data developed by Stadt.Geschichte.Basel.

Plots

This GitHub repository provides the source code used to create the plots. In addition to the data already made available on the research data platform, the source code published here makes the figures even more customisable.

Following the steps below, users can build plots from the book series by themselves. The workflow produces the plots, as published, as PDF files in CMYK colour mode using the dimensions from the printed volumes. For technical reasons, plots and legends are written to separate PDF files. The plots are not shipped with the project's signature font family, but are generated with a generic system font due to copyright. Users can easily customise the plots' dimensions, colours, labels etc. by changing the parameters in the corresponding source code.

The (mostly numerical) data behind the plots, also available in interactive tables on the research data platform, is additionally stored in this repository in csv format. For each dataset, a json file is generated, providing metadata according to the W3C standard for tabular data and metadata on the web.

Installation

Install Node.js, Quarto and R. Run the following commands in the root directory of the repository:

bash npm install

Set up the R environment using renv:

bash npm run setup

Build

Print a list of all plots that can be built from this repository:

bash npm run list

Build an individual plot as PDF – saving the plot to output/ and the annotated data to data/clean/– by running the following command:

bash npm run plot

Specify the ID of the plot when prompted, e.g.:

markdown Bitte ID des Plots eingeben (z.B. 39017 für abb39017): 39017

You can also specify the plot directly:

bash npm run plot 39017

Build all plots from a specific volume, e.g. volume 7:

bash npm run vol 7

Build all plots that are available in this repository:

bash npm run all

Use

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. <!-- The following citation formats are also available through Zenodo: -->

Support

This project is maintained by @Stadt-Geschichte-Basel. 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

  • archive repository on Zenodo
  • add DOIs
  • add individual index.qmd for plots

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 Twente -- Initial work -- mtwente

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

License

This codebase 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.

The output of the code 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.

The tabular data in this repository, specifically in data/, is released according to the individual licensing as stated in the respective metadata files.

Owner

  • Name: Stadt.Geschichte.Basel
  • Login: Stadt-Geschichte-Basel
  • Kind: organization
  • Email: info@stadtgeschichtebasel.ch
  • Location: Switzerland

Wir schreiben Basler Geschichte!

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: sgb-figures
message: >-
  If you use this dataset, please cite it using the metadata
  from this file.
type: dataset
authors:
  - given-names: Moritz
    family-names: Twente
    email: mtwente@protonmail.com
    affiliation: University of Basel
    orcid: 'https://orcid.org/0009-0005-7187-9774'
#identifiers:
#  - type: doi
#    value: 10.5281/zenodo.FIXME
#    description: FIXME
repository-code: 'https://github.com/stadt-geschichte-basel/sgb-figures'
url: 'https://forschung.stadtgeschichtebasel.ch'
repository: 'https://github.com/stadt-geschichte-basel/sgb-figures'
abstract: >-
  This repository contains data and source code to make
  figures from the Stadt.Geschichte.Basel research project
  openly available for reproduction using R.
keywords:
  - Basel
  - Stadt.Geschichte.Basel
  - data visualisation
license: AGPL-3.0-or-later

GitHub Events

Total
  • Issues event: 5
  • Issue comment event: 6
  • Push event: 3
  • Pull request review event: 4
  • Pull request review comment event: 3
  • Pull request event: 3
  • Fork event: 1
  • Create event: 2
Last Year
  • Issues event: 5
  • Issue comment event: 6
  • Push event: 3
  • Pull request review event: 4
  • Pull request review comment event: 3
  • Pull request event: 3
  • Fork event: 1
  • Create event: 2