File:US Unemployment measures.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 720 × 540 pixels, file size: 154 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: Bureau of Labor Statistics measurements U1, U2, U3, U4, U5 and U6.
    Date
    Source Own work
    Author Autopilot

    Source

    1. data from http://download.bls.gov/pub/time.series/ln/ln.data.1.AllData
    2. field names from http://download.bls.gov/pub/time.series/ln/ln.series
    # parse out just the ones that we care about: U1, U2, U3, U4, U5 and U6
    # The AllData file has 4.2 million rows, of which can take some time to
    # load, so it is commented out for repeated plots.
    
    if (F) {
    	cat("Loading table -- might take some time\n");
    	u <- read.table("ln.data.1.Alldata", header=T, fill=T)
    	u$time <- u$year + (as.numeric(u$period) - 1) / 12
    
    	cat("Processing -- might take some time\n");
    	u1 = subset(u, series_id == "LNS13025670")
    	u2 = subset(u, series_id == "LNS14023621")
    	u3 = subset(u, series_id == "LNS14000000")
    	u4 = subset(u, series_id == "LNS13327707")
    	u5 = subset(u, series_id == "LNS13327708")
    	u6 = subset(u, series_id == "LNS13327709")
    }
    
    par(family="Times")
    par(bty = "n")
    plot(
    	0,
    	main = "Measurement of unemployment",
    	ylim = c(0,18),
    	xlim = c(1950, 2010),
    	xlab = "Year",
    	ylab = "Percentage",
    	las = 1
    );
    
    grid()
    
    pal = rainbow(8)
    lines(value ~ time, u6, col=pal[6])
    lines(value ~ time, u5, col=pal[5])
    lines(value ~ time, u4, col=pal[4])
    lines(value ~ time, u3, col=pal[3])
    lines(value ~ time, u2, col=pal[2])
    lines(value ~ time, u1, col=pal[1])
    
    legend(
    	"topleft",
    	rev(c(
    		"U1: Percent Of Civilian Labor Force Unemployed 15 Weeks and over",
    		"U2: Unemployment Rate - Job Losers",
    		"U3: Unemployment Rate",
    		"U4: All of U3, plus discouraged workers",
    		"U5: All of U4, plus marginally attached workers",
    		"U6: All of U5, plus total employed part time for economic reasons"
    	)),
    	col = rev(pal[1:6]),
    	bty = 'n',
    	lty = 1
    )
    
    dev.copy(svg, "US Unemployment measures.svg", width=8, height=6)
    dev.off()
    

    Licensing

    I, the copyright holder of this work, hereby publish it under the following licenses:
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – 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.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
    GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
    You may select the license of your choice.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    12 December 2010

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current07:00, 2 March 2016Thumbnail for version as of 07:00, 2 March 2016720 × 540 (154 KB)wikimediacommons>Kopiersperredata until 2016.083

    There are no pages that use this file.