# Danmarks Breve Dataset

Welcome to the Danmarks Breve dataset! This folder contains important materials that help us explore and organize information from the **[Danmarks Breve](https://tekster.kb.dk/text?editorial=no&f%5Bsubcollection_ssi%5D%5B%5D=letters&match=one&search_field=Alt)** collection at the Royal Danish Library.

## What’s Inside

- **`Denmarks_letters_dataset.csv`**: This file contains organized information (metadata) and cleaned text excerpts from the original XML files. It includes details like senders, recipients, dates, and normalized text.
  
- **`danish_stopwords_18_19_20c.txt`**: This is a list of common Danish words from the 18th, 19th, and 20th century that we ignore in text analysis. It helps improve our results when analyzing text data.

- **`Explore Denmarks Letters.ipynb`**: This is a Jupyter notebook that contains the main steps for exploring the dataset. You can use it to filter senders and recipients, create correspondence networks, perform TF-IDF calculations, and create visualizations.

- **`db_xml_files/`**: This folder contains around 13,000 individual XML documents that support the dataset. You can refer to these files for more detailed information and metadata when needed.

## How to Use This Dataset

- **Primary Analysis**: Start with the CSV file for your data analysis and visualizations. If you need more context or specific details, you can refer to the XML files.

- **Exploration Template**: Use the Jupyter notebook as a starting point for your own investigations. You can modify it to explore different time periods, analyze new networks, or conduct sentiment analysis.

- **Updating Stop-Words**: If you find any unusual words or specific vocabulary that should be ignored in your analysis, feel free to update the stop-word list.


