Skip to content

cleanup script for dataset format - #31

Open
longshuicy wants to merge 1 commit into
masterfrom
30-clean-up-the-format-field-in-dataset-documents
Open

longshuicy wants to merge 1 commit into
masterfrom
30-clean-up-the-format-field-in-dataset-documents

Conversation

@longshuicy

Copy link
Copy Markdown
Member

Currently we have some mismatch of the format. Here is a summary:

{'table': 904,
 'shapefile': 2536,
 'textFiles': 1,
 'shp-network': 57,
 'raster': 2792,
 'csv': 19,
 'Unknown': 1,
 'geotif': 747,
 'json': 14,
 'inp': 1,
 'Table': 1,
 'geotiff': 1}

Proposing to clean it up by
"csv" --> "table",
"geotif" --> "raster"
"geotiff" --> "raster"
"textFiles" --> "textfile"
"inp" --> "unknown"

Caution: Uncomment the last line to deposit real change into database

@longshuicy longshuicy linked an issue Jan 10, 2024 that may be closed by this pull request
@longshuicy longshuicy changed the title cleanup script cleanup script for dataset format Jan 10, 2024

@Rashmil-1999 Rashmil-1999 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up the format field in dataset documents

2 participants