Knowledge

File:Debt to GDP ratio New Zealand Government timeseriesnotitle 720by540.svg

Source 📝

257:# obtain data sheet from Statistics NZ urlrawdata <- c("http://archive.stats.govt.nz/~/media/Statistics/browse-categories/economic-indicators/national-accounts/Long-term%20data%20series/D%20Government/table-d4-1.xls") filerawdata <-c("table-d4-1.xls") download.file(urlrawdata, filerawdata) # load Readxl library library(readxl) # List all sheets in an excel spreadsheet excel_sheets("table-d4-1.xls") "Data" "Documentation" # read in debt as % of GDP from column "BW" debt2gdp <-read_excel("table-d4-1.xls", sheet = "Data", range ="BW31:BW172", col_names = F, skip =30,col_types = c("numeric")) # convert to time series object debt2gdptimeseries <-ts(data = debt2gdp, start = 1860, end =2000) # create svg format chart with 14 pt text font and grid lines via 'grid' svg(filename="debt2gdptimeseriesnotitle_720by540.svg", width = 8, height = 6, pointsize = 14, onefile = FALSE, family = "sans", bg = "white", antialias = c("default", "none", "gray", "subpixel")) par(mar=c(2.7,2.7,1,1)+0.1) plot(debt2gdptimeseries,tck=0.01,ylim=c(0,250),xlim=c(1863,1998),axes=TRUE,ann=TRUE, las=1,col=2,lwd=2,type='l',lty=1) grid(col="darkgray",lwd=1) axis(side=4, tck=0.01, las=0,tick=TRUE,labels = FALSE) mtext(side=1,cex=0.8,line=-1.3,"Data: Statistics NZ, Long-term data series, D4.1 Central government debt, table-d4-1.xls") mtext(side=3,cex=1.7, line=-3.6,expression(paste("New Zealand Gross Core Government \nDebt 1860 to 2000")) ) mtext(side=2,cex=0.9, line=-1.3,"% of Real GDP (2000)") mtext(side=4,cex=0.75, line=0.05,R.version.string) dev.off() 43: 281: 287: 292: 669: 95: 201: 222: 639: 212: 69: 65: 61: 57: 53: 47: 106: 78: 333:– You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. 174: 668: 663: 175:
http://archive.stats.govt.nz/~/media/Statistics/browse-categories/economic-indicators/national-accounts/Long-term%20data%20series/D%20Government/table-d4-1.xls
170: 638: 633: 42: 550: 514: 700: 741:
This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.
340: 498: 470: 457: 442: 171:
http://archive.stats.govt.nz/browse_for_stats/economic_indicators/NationalAccounts/long-term-data-series/government.aspx
570: 534: 415: 398: 382:
A time series of the ratio of gross debt to GDP for the gross debt of the core New Zealand Government 1860 to 2000
477: 232: 302: 744:
If the file has been modified from its original state, some details may not fully reflect the modified file.
705: 339:– If you remix, transform, or build upon the material, you must distribute your contributions under the 299: 114: 449: 710: 679: 649: 101: 274:
I, the copyright holder of this work, hereby publish it under the following license:
184: 149:
A time series of gross debt to GDP for the core New Zealand Government 1860 to 2000
158: 728: 139:
Debt to GDP ratio New Zealand Government timeseriesnotitle 720by540.svg
207: 228: 606:
Click on a date/time to view the file as it appeared at that time.
89: 200: 221: 551:
Creative Commons Attribution-ShareAlike 4.0 International
83:(SVG file, nominally 720 × 540 pixels, file size: 117 KB) 133: 113:
Commons is a freely licensed media file repository.
350:https://creativecommons.org/licenses/by-sa/4.0 94: 450:https://commons.wikimedia.org/user:Mrfebruary 356:Creative Commons Attribution-Share Alike 4.0 280: 8: 316:– to copy, distribute and transmit the work 46:Size of this PNG preview of this SVG file: 746: 608: 378: 721:The following other wikis use this file: 303:Attribution-Share Alike 4.0 International 756: 748: 698: 584: 568: 548: 532: 512: 496: 429: 413: 396: 393: 374: 367: 696:The following 3 pages use this file: 7: 686:User created page with UploadWizard 597: 291: 286: 739: 387: 381: 277: 273: 226: 205: 143: 126: 76: 386: 372: 327:Under the following conditions: 298:This file is licensed under the 290: 285: 279: 220: 199: 93: 31: 21: 701:Economic history of New Zealand 656:add title , thicker line weight 369: 144: 14: 368: 26: 1: 36: 729:Yangi Zelandiya iqtisodiyoti 394:Items portrayed in this file 778: 725:Usage on uz.wikipedia.org 341:same or compatible license 598: 16: 371: 307: 255: 100:This is a file from the 685: 664:03:48, 24 February 2019 655: 180: 164: 157: 154: 136: 104:. Information from its 706:Economy of New Zealand 107:description page there 191:SVG development 70:2,560 × 1,920 pixels 634:04:25, 7 March 2019 322:– to adapt the work 52:Other resolutions: 471:Wikimedia username 458:author name string 66:1,280 × 960 pixels 62:1,024 × 768 pixels 765: 764: 717:Global file usage 689: 535:copyright license 380: 264: 263: 231:was created with 122: 121: 102:Wikimedia Commons 32:Global file usage 769: 747: 676: 646: 586:24 February 2019 499:copyright status 480: 475: 465: 462: 452: 447: 363: 360: 357: 354: 351: 343:as the original. 300:Creative Commons 294: 293: 289: 288: 283: 282: 224: 215: 203: 160: 159:24 February 2019 148: 140: 134: 118: 97: 96: 90: 84: 73: 58:640 × 480 pixels 54:320 × 240 pixels 48:720 × 540 pixels 777: 776: 772: 771: 770: 768: 767: 766: 735: 715: 711:User:Mrfebruary 690: 682: 674: 652: 644: 600: 599: 596: 595: 594: 593: 592: 591: 590: 589: 587: 577: 576: 575: 573: 562: 561: 560: 559: 558: 557: 556: 555: 553: 541: 540: 539: 537: 526: 525: 524: 523: 522: 521: 520: 519: 517: 505: 504: 503: 501: 490: 489: 488: 487: 486: 485: 484: 483: 482: 481: 476: 473: 467: 466: 463: 460: 454: 453: 448: 445: 436: 435: 434: 432: 422: 421: 420: 418: 407: 406: 405: 404: 403: 401: 385: 384: 383: 366: 365: 364: 361: 358: 355: 352: 349: 348: 306: 295: 276: 275: 270: 265: 260: 259: 258: 254: 246: 238: 237: 236: 218: 217: 211: 194: 150: 138: 131: 124: 123: 112: 111: 110:is shown below. 86: 82: 75: 74: 51: 12: 11: 5: 775: 773: 763: 762: 759: 755: 754: 751: 738: 734: 733: 732: 731: 719: 718: 714: 713: 708: 703: 694: 693: 688: 687: 684: 680: 677: 671: 666: 661: 658: 657: 654: 650: 647: 641: 636: 631: 627: 626: 623: 620: 617: 614: 611: 604: 603: 588: 585: 583: 582: 581: 580: 579: 578: 574: 569: 567: 566: 565: 564: 563: 554: 549: 547: 546: 545: 544: 543: 542: 538: 533: 531: 530: 529: 528: 527: 518: 513: 511: 510: 509: 508: 507: 506: 502: 497: 495: 494: 493: 492: 491: 469: 468: 456: 455: 441: 440: 439: 438: 437: 433: 430: 428: 427: 426: 425: 424: 423: 419: 414: 412: 411: 410: 409: 408: 402: 397: 395: 392: 391: 390: 389: 388: 377: 376: 373: 370: 347: 346: 345: 344: 334: 325: 324: 323: 317: 310:You are free: 297: 296: 278: 272: 271: 269: 266: 262: 261: 256: 253: 250: 249: 247: 244: 240: 239: 219: 198: 197: 195: 192: 188: 187: 182: 178: 177: 166: 162: 161: 156: 152: 151: 141: 132: 130: 127: 125: 120: 119: 98: 88: 87: 45: 41: 40: 39: 34: 29: 24: 19: 13: 10: 9: 6: 4: 3: 2: 774: 760: 757: 752: 749: 745: 742: 736: 730: 727: 726: 724: 723: 722: 716: 712: 709: 707: 704: 702: 699: 697: 691: 683: 678: 672: 670: 667: 665: 662: 660: 659: 653: 648: 642: 640: 637: 635: 632: 629: 628: 624: 621: 618: 615: 612: 610: 609: 607: 601: 572: 552: 536: 516: 500: 479: 472: 459: 451: 444: 417: 400: 353:CC BY-SA 4.0 342: 338: 335: 332: 329: 328: 326: 321: 318: 315: 312: 311: 309: 308: 304: 301: 284: 267: 251: 248: 242: 241: 234: 230: 223: 214: 209: 202: 196: 190: 189: 186: 183: 179: 176: 173: 172: 167: 163: 153: 147: 142: 135: 128: 116: 109: 108: 103: 99: 92: 91: 85: 80: 79:Original file 71: 67: 63: 59: 55: 49: 44: 38: 35: 33: 30: 28: 25: 23: 20: 18: 15: 743: 740: 720: 695: 605: 602:File history 336: 330: 319: 313: 168: 145: 115:You can help 105: 77: 22:File history 515:copyrighted 337:share alike 331:attribution 243:Source code 137:Description 692:File usage 681:Mrfebruary 673:720 × 540 651:Mrfebruary 643:720 × 540 619:Dimensions 478:Mrfebruary 464:Mrfebruary 431:some value 185:Mrfebruary 27:File usage 616:Thumbnail 613:Date/Time 571:inception 268:Licensing 245:InfoField 193:InfoField 146:English: 737:Metadata 645:(117 KB) 375:Captions 320:to remix 314:to share 305:license. 210:code is 37:Metadata 675:(90 KB) 630:current 625:Comment 416:creator 399:depicts 379:English 129:Summary 81:‎ 758:Height 252:R code 227:This 225:  204:  181:Author 165:Source 761:432pt 753:576pt 750:Width 229:chart 213:valid 169:Data 622:User 362:true 359:true 206:The 155:Date 17:File 443:URL 208:SVG 474:: 461:: 446:: 68:| 64:| 60:| 56:| 50:. 235:. 233:R 216:. 117:. 72:.

Index

File
File history
File usage
Global file usage
Metadata
File:Debt to GDP ratio New Zealand Government timeseriesnotitle 720by540.svg
720 × 540 pixels
320 × 240 pixels
640 × 480 pixels
1,024 × 768 pixels
1,280 × 960 pixels
2,560 × 1,920 pixels
Original file
Wikimedia Commons
description page there
You can help
http://archive.stats.govt.nz/browse_for_stats/economic_indicators/NationalAccounts/long-term-data-series/government.aspx
http://archive.stats.govt.nz/~/media/Statistics/browse-categories/economic-indicators/national-accounts/Long-term%20data%20series/D%20Government/table-d4-1.xls
Mrfebruary

SVG
valid

chart
R
Creative Commons
Attribution-Share Alike 4.0 International
same or compatible license
depicts
creator

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.