Skip to content

Commit

Permalink
Merge pull request #175 from g0v/add-2024-data
Browse files Browse the repository at this point in the history
data: add 202401 & 02 data
  • Loading branch information
ddio authored Feb 29, 2024
2 parents dd5e3a6 + 2a75bf4 commit 266c012
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 2 deletions.
65 changes: 65 additions & 0 deletions ui/assets/stats/2024.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"year": 2024,
"annual": [
],
"quarterly": [
],
"monthly": [
{
"schema_ver": "1.0.0",
"data_ver": "0.2",
"time": "1",
"type": "原始資料",
"total_count": 192990,
"sources": [
{"name": "591", "count": 192990}
],
"files": [
{"format": "csv", "size_byte": 73630870, "download_url": { "isS3": true }}
],
"comment": ""
},
{
"schema_ver": "1.0.0",
"data_ver": "0.2",
"time": "1",
"type": "消除重複住宅",
"total_count": 151691,
"sources": [
{"name": "591", "count": 151691}
],
"files": [
{"format": "csv", "size_byte": 63649919, "download_url": { "isS3": true }}
],
"comment": ""
},
{
"schema_ver": "1.0.0",
"data_ver": "0.2",
"time": "2",
"type": "原始資料",
"total_count": 174448,
"sources": [
{"name": "591", "count": 174448}
],
"files": [
{"format": "csv", "size_byte": 66386779, "download_url": { "isS3": true }}
],
"comment": ""
},
{
"schema_ver": "1.0.0",
"data_ver": "0.2",
"time": "2",
"type": "消除重複住宅",
"total_count": 136424,
"sources": [
{"name": "591", "count": 136424}
],
"files": [
{"format": "csv", "size_byte": 57076371, "download_url": { "isS3": true }}
],
"comment": ""
}
]
}
2 changes: 2 additions & 0 deletions ui/pages/download.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ import def2020 from '~/assets/stats/2020.json'
import def2021 from '~/assets/stats/2021.json'
import def2022 from '~/assets/stats/2022.json'
import def2023 from '~/assets/stats/2023.json'
import def2024 from '~/assets/stats/2024.json'
export default {
data () {
return {
years: [
{ year: 2024, data: def2024 },
{ year: 2023, data: def2023 },
{ year: 2022, data: def2022 },
{ year: 2021, data: def2021 },
Expand Down
4 changes: 2 additions & 2 deletions ui/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
twrh-disqus.mw7.center
</template>
<script>
import lastYear from '~/assets/stats/2022.json'
import thisYear from '~/assets/stats/2023.json'
import lastYear from '~/assets/stats/2023.json'
import thisYear from '~/assets/stats/2024.json'
export default {
async asyncData ({ $content }) {
Expand Down

0 comments on commit 266c012

Please sign in to comment.