GoogleDataSafety / README.md
WIPI's picture
Update README.md
aa3d883 verified
---
license: cc-by-nc-4.0
language:
- en
tags:
- App Privacy Policies
- Data Safety Labels
---
# GoogleDataSafety
Data used in the papers:
- [Unpacking Privacy Labels: A Measurement and Developer Perspective on Google's Data Safety Section](https://www.usenix.org/conference/usenixsecurity24/presentation/khandelwal)
- [The Overview of Privacy Labels and their Compatibility with Privacy Policies](https://arxiv.org/abs/2303.08213)
- [Comparing Privacy Labels of Applications in Android and iOS](https://dl.acm.org/doi/10.1145/3603216.3624967)
****
## Getting Started
In this dataset you have the following data:
1. App Privacy Policies
2. Data Safety Sections Labels
The data is collected from the apps in Google Play Store over the period of 2022-2023.
****
### 1. Code Structure
```
β”œβ”€β”€ raw_policies/
β”‚ β”œβ”€β”€ policy_raw_0.zip
β”‚ β”œβ”€β”€ policy_raw_100000.zip
β”‚ β”œβ”€β”€ policy_raw_200000.zip
β”‚ β”œβ”€β”€ policy_raw_300000.zip
β”‚ └── ...
β”œβ”€β”€ data_safety_sections/
β”‚ β”œβ”€β”€ 05_30/
β”‚ β”œβ”€β”€ 06_20/
β”‚ β”œβ”€β”€ 06_28/
β”‚ β”œβ”€β”€ 07_01/
β”‚ └── ...
```
### 2. Using Privacy Policy Data
Unzip the zip file and you will see the following structure:
```
β”œβ”€β”€ policy_raw_0/
β”‚ β”œβ”€β”€ <app_id>
β”‚ β”‚ β”œβ”€β”€ <privacy_policy_timestamp>.txt # Raw HTML of the privacy policy
β”‚ β”‚ └── site.txt # URL of the privacy policy
β”‚ └── ...
```
### 3. Loading DSS Label Data
```python
import pandas as pd
# Load the data
# !pip install pyarrow
data = pd.read_parquet('data_safety_sections/05_30/all_data_05_30.brotli')
```
---------
## Contact
For any questions or feedback, feel free to contact [Asmit Nayak](mailto:[email protected]) and [Rishabh Khandelwal](mailto:[email protected]).
## Citation
If you find this dataset useful in your research or applications, please kindly cite:
```
@inproceedings {google_data_safety_section,
author = {Rishabh Khandelwal and Asmit Nayak and Paul Chung and Kassem Fawaz},
title = {Unpacking Privacy Labels: A Measurement and Developer Perspective on Google's Data Safety Section},
booktitle = {33rd USENIX Security Symposium (USENIX Security 24)},
year = {2024},
address = {Philadelphia, PA},
url = {https://www.usenix.org/conference/usenixsecurity24/presentation/khandelwal},
publisher = {USENIX Association},
month = aug
}
```