https://github.com/dathere/get-popular-datasets
Get popular datasets from CKAN data portals
https://github.com/dathere/get-popular-datasets
Last synced: about 1 year ago
JSON representation
Get popular datasets from CKAN data portals
- Host: GitHub
- URL: https://github.com/dathere/get-popular-datasets
- Owner: dathere
- License: mit
- Created: 2024-04-11T16:12:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-16T16:58:07.000Z (almost 2 years ago)
- Last Synced: 2024-04-17T13:23:30.445Z (almost 2 years ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Get-Popular-Datasets
This repository contains a script that downloads popular datasets from the CKAN portal.
## Requirements
- Python 3.6 or higher
- requests
## Installation
```bash
pip install requests
```
## Usage
```bash
python get_popular_datasets.py
```
## Configuration
You can configure the script by changing the values in the `config.ini` file.
```ini
[default]
url = https://catalog.data.gov # The URL of the CKAN portal.
rows = 100 # The number of datasets to search for.
output_file = output.csv # The name of the output file.
organization = org_name # The name of the organization to search for.
```
## Report
The script generates a CSV file with the following columns:
- organization
- title
- url
- metadata_created
- metadata_modified
- total number of views