Skip to content

Commit

Permalink
chore!: Rename weather.json -> weekly-weather.json (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned authored Dec 20, 2024
1 parent a88ff4c commit 40ffbd4
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 14 deletions.
10 changes: 7 additions & 3 deletions _data/datapackage_additions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -932,9 +932,13 @@ from multiple fields in the original dataset. This data is intended for instruct
title = "NOAA Climate Data Online"
path = "http://www.ncdc.noaa.gov/cdo-web/datatools/findstation"

[[resources]] # Path: weather.json
path = "weather.json"
description = """Instructional dataset showing actual and predicted temperature data."""
[[resources]] # Path: weekly-weather.json
path = "weekly-weather.json"
description = """Instructional dataset showing actual and predicted temperature data.
> [!IMPORTANT]
> Named `weather.json` in previous versions (`v1.4.0` - `v2.11.0`).
"""

[[resources]] # Path: wheat.json
path = "wheat.json"
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions datapackage.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
],
"version": "2.11.0",
"created": "2024-12-19T18:26:48.655674+00:00",
"created": "2024-12-20T12:17:51.410891+00:00",
"resources": [
{
"name": "7zip.png",
Expand Down Expand Up @@ -3016,10 +3016,10 @@
}
},
{
"name": "weather.json",
"name": "weekly-weather.json",
"type": "json",
"description": "Instructional dataset showing actual and predicted temperature data.",
"path": "weather.json",
"description": "Instructional dataset showing actual and predicted temperature data.\n\n> [!IMPORTANT]\n> Named `weather.json` in previous versions (`v1.4.0` - `v2.11.0`).\n",
"path": "weekly-weather.json",
"scheme": "file",
"format": "json",
"mediatype": "text/json",
Expand Down
10 changes: 7 additions & 3 deletions datapackage.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# vega-datasets
`2.11.0` | [GitHub](http://github.com/vega/vega-datasets.git) | 2024-12-19 18:26:48 [UTC]
`2.11.0` | [GitHub](http://github.com/vega/vega-datasets.git) | 2024-12-20 12:17:51 [UTC]

Common repository for example datasets used by Vega related projects.
BSD-3-Clause license applies only to package code and infrastructure. Users should verify their use of datasets
Expand Down Expand Up @@ -1357,11 +1357,15 @@ from multiple fields in the original dataset. This data is intended for instruct
| title | path |
|:-------------------------|:-------------------------------------------------------|
| NOAA Climate Data Online | http://www.ncdc.noaa.gov/cdo-web/datatools/findstation |
## `weather.json`
## `weekly-weather.json`
### path
weather.json
weekly-weather.json
### description
Instructional dataset showing actual and predicted temperature data.

> [!IMPORTANT]
> Named `weather.json` in previous versions (`v1.4.0` - `v2.11.0`).
## `wheat.json`
### path
wheat.json
Expand Down
8 changes: 4 additions & 4 deletions src/urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export default {
'crimea.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/crimea.json`,
'driving.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/driving.json`,
'earthquakes.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/earthquakes.json`,
'flare-dependencies.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flare-dependencies.json`,
'flare.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flare.json`,
'flare-dependencies.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flare-dependencies.json`,
'flights-10k.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-10k.json`,
'flights-200k.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-200k.json`,
'flights-20k.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-20k.json`,
Expand Down Expand Up @@ -43,7 +43,7 @@ export default {
'us-10m.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/us-10m.json`,
'us-state-capitals.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/us-state-capitals.json`,
'volcano.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/volcano.json`,
'weather.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/weather.json`,
'weekly-weather.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/weekly-weather.json`,
'wheat.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/wheat.json`,
'world-110m.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/world-110m.json`,
'airports.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/airports.csv`,
Expand All @@ -59,10 +59,10 @@ export default {
'lookup_groups.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/lookup_groups.csv`,
'lookup_people.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/lookup_people.csv`,
'population_engineers_hurricanes.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/population_engineers_hurricanes.csv`,
'seattle-weather-hourly-normals.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/seattle-weather-hourly-normals.csv`,
'seattle-weather.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/seattle-weather.csv`,
'sp500-2000.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/sp500-2000.csv`,
'seattle-weather-hourly-normals.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/seattle-weather-hourly-normals.csv`,
'sp500.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/sp500.csv`,
'sp500-2000.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/sp500-2000.csv`,
'stocks.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/stocks.csv`,
'us-employment.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/us-employment.csv`,
'weather.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/weather.csv`,
Expand Down

0 comments on commit 40ffbd4

Please sign in to comment.