diff --git a/docs/source/usage.rst b/docs/source/usage.rst index 62aa0b4..877d0f1 100644 --- a/docs/source/usage.rst +++ b/docs/source/usage.rst @@ -56,6 +56,13 @@ examples_ directory of the package. +.. automodule:: gptables.examples.survey_data + +.. literalinclude:: ../../gptables/examples/survey_data.py + :language: python + :lines: 8- + + R Usage ------- diff --git a/gptables/examples/survey_data.csv b/gptables/examples/survey_data.csv new file mode 100644 index 0000000..bc757ad --- /dev/null +++ b/gptables/examples/survey_data.csv @@ -0,0 +1,615 @@ +Time period and dataset code row,"Number of people +(thousands)","Economically active +(thousands) +[note 1]","Employment level +(thousands) +[note 2]","Unemployment level +(thousands) +[note 2]","Economically inactive +(thousands) +[note 3]","Economically active rate +(%) +","Employment rate +(%) +[note 4]","Unemployment rate +(%) +[note 4]","Economically inactive rate +(%) +[note 4]" +Dataset identifier code,MGSL,MGSF,MGRZ,MGSC,MGSI,MGWG,MGSR,MGSX,YBTC +Jan to Mar 1971,"40,513","25,593","24,613",980,"14,919",63.2,60.8,3.8,36.8 +Feb to Apr 1971,"40,531","25,573","24,575",998,"14,959",63.1,60.6,3.9,36.9 +Mar to May 1971,"40,550","25,582","24,559","1,023","14,968",63.1,60.6,4,36.9 +Apr to Jun 1971,"40,568","25,600","24,556","1,045","14,968",63.1,60.5,4.1,36.9 +May to Jul 1971,"40,587","25,603","24,541","1,062","14,984",63.1,60.5,4.1,36.9 +Jun to Aug 1971,"40,605","25,576","24,508","1,068","15,029",63,60.4,4.2,37 +Jul to Sep 1971,"40,618","25,539","24,464","1,076","15,079",62.9,60.2,4.2,37.1 +Aug to Oct 1971,"40,631","25,515","24,424","1,090","15,117",62.8,60.1,4.3,37.2 +Sep to Nov 1971,"40,645","25,511","24,398","1,113","15,134",62.8,60,4.4,37.2 +Oct to Dec 1971,"40,658","25,528","24,395","1,133","15,130",62.8,60,4.4,37.2 +Nov to Jan 1972,"40,671","25,560","24,416","1,143","15,111",62.8,60,4.5,37.2 +Dec to Feb 1972,"40,684","25,605","24,455","1,149","15,079",62.9,60.1,4.5,37.1 +Jan to Mar 1972,"40,697","25,656","24,501","1,155","15,041",63,60.2,4.5,37 +Feb to Apr 1972,"40,710","25,690","24,529","1,161","15,020",63.1,60.3,4.5,36.9 +Mar to May 1972,"40,723","25,694","24,539","1,155","15,029",63.1,60.3,4.5,36.9 +Apr to Jun 1972,"40,736","25,682","24,542","1,140","15,055",63,60.2,4.4,37 +May to Jul 1972,"40,750","25,663","24,541","1,122","15,087",63,60.2,4.4,37 +Jun to Aug 1972,"40,763","25,664","24,557","1,107","15,099",63,60.2,4.3,37 +Jul to Sep 1972,"40,777","25,685","24,585","1,100","15,092",63,60.3,4.3,37 +Aug to Oct 1972,"40,792","25,706","24,614","1,092","15,086",63,60.3,4.2,37 +Sep to Nov 1972,"40,807","25,728","24,643","1,085","15,079",63,60.4,4.2,37 +Oct to Dec 1972,"40,821","25,758","24,689","1,070","15,063",63.1,60.5,4.2,36.9 +Nov to Jan 1973,"40,836","25,796","24,748","1,049","15,040",63.2,60.6,4.1,36.8 +Dec to Feb 1973,"40,851","25,848","24,825","1,024","15,002",63.3,60.8,4,36.7 +Jan to Mar 1973,"40,865","25,904","24,903","1,002","14,961",63.4,60.9,3.9,36.6 +Feb to Apr 1973,"40,880","25,949","24,962",987,"14,931",63.5,61.1,3.8,36.5 +Mar to May 1973,"40,895","25,963","24,986",977,"14,932",63.5,61.1,3.8,36.5 +Apr to Jun 1973,"40,909","25,954","24,986",968,"14,955",63.4,61.1,3.7,36.6 +May to Jul 1973,"40,924","25,932","24,975",957,"14,992",63.4,61,3.7,36.6 +Jun to Aug 1973,"40,939","25,908","24,965",943,"15,030",63.3,61,3.6,36.7 +Jul to Sep 1973,"40,952","25,899","24,972",927,"15,053",63.2,61,3.6,36.8 +Aug to Oct 1973,"40,965","25,898","24,984",913,"15,067",63.2,61,3.5,36.8 +Sep to Nov 1973,"40,978","25,898","24,997",901,"15,080",63.2,61,3.5,36.8 +Oct to Dec 1973,"40,991","25,887","24,999",888,"15,104",63.2,61,3.4,36.8 +Nov to Jan 1974,"41,004","25,891","25,000",892,"15,113",63.1,61,3.4,36.9 +Dec to Feb 1974,"41,018","25,899","24,995",904,"15,119",63.1,60.9,3.5,36.9 +Jan to Mar 1974,"41,031","25,908","24,984",923,"15,123",63.1,60.9,3.6,36.9 +Feb to Apr 1974,"41,044","25,916","24,984",931,"15,128",63.1,60.9,3.6,36.9 +Mar to May 1974,"41,057","25,919","24,985",933,"15,138",63.1,60.9,3.6,36.9 +Apr to Jun 1974,"41,070","25,940","25,002",937,"15,131",63.2,60.9,3.6,36.8 +May to Jul 1974,"41,083","25,961","25,020",941,"15,122",63.2,60.9,3.6,36.8 +Jun to Aug 1974,"41,096","25,995","25,044",951,"15,102",63.3,60.9,3.7,36.7 +Jul to Sep 1974,"41,112","26,024","25,066",958,"15,088",63.3,61,3.7,36.7 +Aug to Oct 1974,"41,127","26,042","25,077",965,"15,085",63.3,61,3.7,36.7 +Sep to Nov 1974,"41,142","26,044","25,075",969,"15,098",63.3,60.9,3.7,36.7 +Oct to Dec 1974,"41,158","26,041","25,065",976,"15,117",63.3,60.9,3.7,36.7 +Nov to Jan 1975,"41,173","26,033","25,044",989,"15,140",63.2,60.8,3.8,36.8 +Dec to Feb 1975,"41,189","26,025","25,018","1,007","15,164",63.2,60.7,3.9,36.8 +Jan to Mar 1975,"41,204","26,025","24,996","1,029","15,179",63.2,60.7,4,36.8 +Feb to Apr 1975,"41,219","26,036","24,980","1,055","15,184",63.2,60.6,4.1,36.8 +Mar to May 1975,"41,235","26,054","24,965","1,089","15,180",63.2,60.5,4.2,36.8 +Apr to Jun 1975,"41,250","26,081","24,955","1,126","15,169",63.2,60.5,4.3,36.8 +May to Jul 1975,"41,265","26,107","24,945","1,162","15,158",63.3,60.4,4.5,36.7 +Jun to Aug 1975,"41,281","26,127","24,934","1,193","15,154",63.3,60.4,4.6,36.7 +Jul to Sep 1975,"41,300","26,139","24,918","1,221","15,161",63.3,60.3,4.7,36.7 +Aug to Oct 1975,"41,319","26,149","24,897","1,252","15,170",63.3,60.3,4.8,36.7 +Sep to Nov 1975,"41,338","26,167","24,880","1,286","15,172",63.3,60.2,4.9,36.7 +Oct to Dec 1975,"41,358","26,183","24,864","1,319","15,175",63.3,60.1,5,36.7 +Nov to Jan 1976,"41,377","26,190","24,847","1,343","15,187",63.3,60.1,5.1,36.7 +Dec to Feb 1976,"41,396","26,188","24,825","1,363","15,208",63.3,60,5.2,36.7 +Jan to Mar 1976,"41,415","26,187","24,809","1,379","15,228",63.2,59.9,5.3,36.8 +Feb to Apr 1976,"41,435","26,185","24,793","1,392","15,250",63.2,59.8,5.3,36.8 +Mar to May 1976,"41,454","26,193","24,788","1,405","15,261",63.2,59.8,5.4,36.8 +Apr to Jun 1976,"41,473","26,192","24,779","1,413","15,281",63.2,59.7,5.4,36.8 +May to Jul 1976,"41,492","26,195","24,776","1,419","15,298",63.1,59.7,5.4,36.9 +Jun to Aug 1976,"41,512","26,196","24,772","1,425","15,315",63.1,59.7,5.4,36.9 +Jul to Sep 1976,"41,535","26,198","24,768","1,430","15,336",63.1,59.6,5.5,36.9 +Aug to Oct 1976,"41,558","26,203","24,771","1,432","15,355",63.1,59.6,5.5,36.9 +Sep to Nov 1976,"41,581","26,210","24,779","1,431","15,371",63,59.6,5.5,37 +Oct to Dec 1976,"41,604","26,220","24,788","1,432","15,384",63,59.6,5.5,37 +Nov to Jan 1977,"41,627","26,232","24,797","1,435","15,395",63,59.6,5.5,37 +Dec to Feb 1977,"41,650","26,236","24,800","1,436","15,414",63,59.5,5.5,37 +Jan to Mar 1977,"41,674","26,239","24,803","1,436","15,434",63,59.5,5.5,37 +Feb to Apr 1977,"41,697","26,238","24,801","1,437","15,459",62.9,59.5,5.5,37.1 +Mar to May 1977,"41,720","26,240","24,799","1,441","15,480",62.9,59.4,5.5,37.1 +Apr to Jun 1977,"41,743","26,254","24,802","1,452","15,489",62.9,59.4,5.5,37.1 +May to Jul 1977,"41,766","26,267","24,800","1,467","15,499",62.9,59.4,5.6,37.1 +Jun to Aug 1977,"41,789","26,285","24,804","1,481","15,504",62.9,59.4,5.6,37.1 +Jul to Sep 1977,"41,813","26,302","24,809","1,493","15,511",62.9,59.3,5.7,37.1 +Aug to Oct 1977,"41,837","26,312","24,813","1,498","15,526",62.9,59.3,5.7,37.1 +Sep to Nov 1977,"41,862","26,319","24,818","1,502","15,542",62.9,59.3,5.7,37.1 +Oct to Dec 1977,"41,886","26,321","24,822","1,499","15,565",62.8,59.3,5.7,37.2 +Nov to Jan 1978,"41,910","26,326","24,833","1,493","15,584",62.8,59.3,5.7,37.2 +Dec to Feb 1978,"41,934","26,328","24,844","1,484","15,606",62.8,59.2,5.6,37.2 +Jan to Mar 1978,"41,958","26,336","24,862","1,474","15,622",62.8,59.3,5.6,37.2 +Feb to Apr 1978,"41,982","26,343","24,874","1,469","15,639",62.7,59.3,5.6,37.3 +Mar to May 1978,"42,006","26,352","24,886","1,466","15,654",62.7,59.2,5.6,37.3 +Apr to Jun 1978,"42,030","26,360","24,897","1,463","15,670",62.7,59.2,5.6,37.3 +May to Jul 1978,"42,054","26,367","24,908","1,459","15,687",62.7,59.2,5.5,37.3 +Jun to Aug 1978,"42,079","26,378","24,919","1,459","15,701",62.7,59.2,5.5,37.3 +Jul to Sep 1978,"42,105","26,396","24,941","1,455","15,709",62.7,59.2,5.5,37.3 +Aug to Oct 1978,"42,132","26,425","24,975","1,449","15,708",62.7,59.3,5.5,37.3 +Sep to Nov 1978,"42,159","26,452","25,017","1,435","15,708",62.7,59.3,5.4,37.3 +Oct to Dec 1978,"42,186","26,480","25,059","1,421","15,706",62.8,59.4,5.4,37.2 +Nov to Jan 1979,"42,213","26,501","25,087","1,413","15,713",62.8,59.4,5.3,37.2 +Dec to Feb 1979,"42,240","26,523","25,106","1,417","15,718",62.8,59.4,5.3,37.2 +Jan to Mar 1979,"42,267","26,533","25,113","1,420","15,734",62.8,59.4,5.4,37.2 +Feb to Apr 1979,"42,294","26,535","25,121","1,414","15,759",62.7,59.4,5.3,37.3 +Mar to May 1979,"42,321","26,541","25,136","1,405","15,780",62.7,59.4,5.3,37.3 +Apr to Jun 1979,"42,348","26,565","25,159","1,405","15,783",62.7,59.4,5.3,37.3 +May to Jul 1979,"42,375","26,602","25,186","1,415","15,773",62.8,59.4,5.3,37.2 +Jun to Aug 1979,"42,402","26,633","25,211","1,422","15,769",62.8,59.5,5.3,37.2 +Jul to Sep 1979,"42,432","26,659","25,229","1,430","15,773",62.8,59.5,5.4,37.2 +Aug to Oct 1979,"42,462","26,689","25,248","1,441","15,772",62.9,59.5,5.4,37.1 +Sep to Nov 1979,"42,491","26,718","25,265","1,453","15,773",62.9,59.5,5.4,37.1 +Oct to Dec 1979,"42,521","26,750","25,280","1,471","15,770",62.9,59.5,5.5,37.1 +Nov to Jan 1980,"42,551","26,769","25,280","1,490","15,781",62.9,59.4,5.6,37.1 +Dec to Feb 1980,"42,580","26,791","25,270","1,521","15,789",62.9,59.3,5.7,37.1 +Jan to Mar 1980,"42,610","26,808","25,250","1,558","15,802",62.9,59.3,5.8,37.1 +Feb to Apr 1980,"42,639","26,837","25,235","1,603","15,802",62.9,59.2,6,37.1 +Mar to May 1980,"42,669","26,863","25,215","1,648","15,806",63,59.1,6.1,37 +Apr to Jun 1980,"42,699","26,890","25,190","1,700","15,809",63,59,6.3,37 +May to Jul 1980,"42,728","26,916","25,160","1,756","15,812",63,58.9,6.5,37 +Jun to Aug 1980,"42,758","26,938","25,110","1,828","15,820",63,58.7,6.8,37 +Jul to Sep 1980,"42,784","26,955","25,050","1,905","15,829",63,58.5,7.1,37 +Aug to Oct 1980,"42,810","26,974","24,985","1,989","15,836",63,58.4,7.4,37 +Sep to Nov 1980,"42,836","26,992","24,915","2,077","15,844",63,58.2,7.7,37 +Oct to Dec 1980,"42,862","27,024","24,855","2,169","15,837",63.1,58,8,36.9 +Nov to Jan 1981,"42,888","27,040","24,785","2,255","15,847",63,57.8,8.3,37 +Dec to Feb 1981,"42,914","27,050","24,720","2,330","15,863",63,57.6,8.6,37 +Jan to Mar 1981,"42,940","27,063","24,661","2,403","15,876",63,57.4,8.9,37 +Feb to Apr 1981,"42,965","27,082","24,606","2,476","15,883",63,57.3,9.1,37 +Mar to May 1981,"42,991","27,093","24,549","2,544","15,898",63,57.1,9.4,37 +Apr to Jun 1981,"43,017","27,082","24,495","2,588","15,935",63,56.9,9.6,37 +May to Jul 1981,"43,043","27,068","24,444","2,624","15,975",62.9,56.8,9.7,37.1 +Jun to Aug 1981,"43,069","27,053","24,398","2,654","16,016",62.8,56.6,9.8,37.2 +Jul to Sep 1981,"43,084","27,039","24,355","2,684","16,045",62.8,56.5,9.9,37.2 +Aug to Oct 1981,"43,100","27,024","24,311","2,713","16,076",62.7,56.4,10,37.3 +Sep to Nov 1981,"43,115","27,001","24,261","2,740","16,114",62.6,56.3,10.1,37.4 +Oct to Dec 1981,"43,130","26,970","24,209","2,761","16,160",62.5,56.1,10.2,37.5 +Nov to Jan 1982,"43,146","26,949","24,169","2,780","16,197",62.5,56,10.3,37.5 +Dec to Feb 1982,"43,161","26,931","24,139","2,792","16,230",62.4,55.9,10.4,37.6 +Jan to Mar 1982,"43,176","26,923","24,120","2,803","16,254",62.4,55.9,10.4,37.6 +Feb to Apr 1982,"43,192","26,905","24,092","2,813","16,287",62.3,55.8,10.5,37.7 +Mar to May 1982,"43,207","26,892","24,067","2,824","16,315",62.2,55.7,10.5,37.8 +Apr to Jun 1982,"43,222","26,868","24,027","2,841","16,354",62.2,55.6,10.6,37.8 +May to Jul 1982,"43,238","26,848","23,992","2,857","16,389",62.1,55.5,10.6,37.9 +Jun to Aug 1982,"43,253","26,826","23,949","2,877","16,427",62,55.4,10.7,38 +Jul to Sep 1982,"43,274","26,797","23,901","2,897","16,476",61.9,55.2,10.8,38.1 +Aug to Oct 1982,"43,295","26,769","23,852","2,917","16,526",61.8,55.1,10.9,38.2 +Sep to Nov 1982,"43,316","26,741","23,803","2,938","16,575",61.7,55,11,38.3 +Oct to Dec 1982,"43,337","26,714","23,755","2,960","16,622",61.6,54.8,11.1,38.4 +Nov to Jan 1983,"43,357","26,688","23,712","2,976","16,670",61.6,54.7,11.2,38.4 +Dec to Feb 1983,"43,378","26,663","23,675","2,988","16,715",61.5,54.6,11.2,38.5 +Jan to Mar 1983,"43,399","26,649","23,651","2,998","16,750",61.4,54.5,11.3,38.6 +Feb to Apr 1983,"43,420","26,644","23,636","3,008","16,776",61.4,54.4,11.3,38.6 +Mar to May 1983,"43,441","26,653","23,630","3,023","16,788",61.4,54.4,11.3,38.6 +Apr to Jun 1983,"43,462","26,696","23,647","3,049","16,765",61.4,54.4,11.4,38.6 +May to Jul 1983,"43,483","26,762","23,687","3,074","16,721",61.5,54.5,11.5,38.5 +Jun to Aug 1983,"43,504","26,834","23,741","3,093","16,670",61.7,54.6,11.5,38.3 +Jul to Sep 1983,"43,527","26,918","23,809","3,109","16,608",61.8,54.7,11.5,38.2 +Aug to Oct 1983,"43,549","27,004","23,879","3,125","16,545",62,54.8,11.6,38 +Sep to Nov 1983,"43,572","27,094","23,947","3,146","16,478",62.2,55,11.6,37.8 +Oct to Dec 1983,"43,595","27,161","23,994","3,167","16,434",62.3,55,11.7,37.7 +Nov to Jan 1984,"43,618","27,234","24,044","3,189","16,384",62.4,55.1,11.7,37.6 +Dec to Feb 1984,"43,641","27,300","24,085","3,215","16,340",62.6,55.2,11.8,37.4 +Jan to Mar 1984,"43,664","27,368","24,125","3,243","16,296",62.7,55.3,11.8,37.3 +Feb to Apr 1984,"43,687","27,428","24,165","3,263","16,258",62.8,55.3,11.9,37.2 +Mar to May 1984,"43,709","27,485","24,208","3,278","16,224",62.9,55.4,11.9,37.1 +Apr to Jun 1984,"43,732","27,510","24,245","3,265","16,222",62.9,55.4,11.9,37.1 +May to Jul 1984,"43,755","27,530","24,275","3,256","16,225",62.9,55.5,11.8,37.1 +Jun to Aug 1984,"43,778","27,547","24,305","3,242","16,231",62.9,55.5,11.8,37.1 +Jul to Sep 1984,"43,801","27,573","24,335","3,238","16,228",63,55.6,11.7,37 +Aug to Oct 1984,"43,824","27,603","24,370","3,233","16,220",63,55.6,11.7,37 +Sep to Nov 1984,"43,846","27,629","24,400","3,229","16,218",63,55.6,11.7,37 +Oct to Dec 1984,"43,869","27,652","24,435","3,217","16,217",63,55.7,11.6,37 +Nov to Jan 1985,"43,892","27,676","24,470","3,206","16,216",63.1,55.8,11.6,36.9 +Dec to Feb 1985,"43,915","27,685","24,490","3,195","16,230",63,55.8,11.5,37 +Jan to Mar 1985,"43,937","27,695","24,515","3,180","16,243",63,55.8,11.5,37 +Feb to Apr 1985,"43,960","27,709","24,540","3,169","16,251",63,55.8,11.4,37 +Mar to May 1985,"43,983","27,710","24,554","3,156","16,273",63,55.8,11.4,37 +Apr to Jun 1985,"44,006","27,722","24,570","3,152","16,284",63,55.8,11.4,37 +May to Jul 1985,"44,029","27,735","24,590","3,145","16,294",63,55.8,11.3,37 +Jun to Aug 1985,"44,051","27,749","24,610","3,139","16,302",63,55.9,11.3,37 +Jul to Sep 1985,"44,069","27,762","24,625","3,137","16,307",63,55.9,11.3,37 +Aug to Oct 1985,"44,087","27,770","24,635","3,135","16,317",63,55.9,11.3,37 +Sep to Nov 1985,"44,104","27,783","24,650","3,133","16,321",63,55.9,11.3,37 +Oct to Dec 1985,"44,122","27,795","24,660","3,135","16,328",63,55.9,11.3,37 +Nov to Jan 1986,"44,140","27,798","24,660","3,138","16,342",63,55.9,11.3,37 +Dec to Feb 1986,"44,158","27,813","24,670","3,143","16,345",63,55.9,11.3,37 +Jan to Mar 1986,"44,175","27,820","24,670","3,150","16,356",63,55.8,11.3,37 +Feb to Apr 1986,"44,193","27,826","24,675","3,151","16,367",63,55.8,11.3,37 +Mar to May 1986,"44,211","27,837","24,683","3,154","16,373",63,55.8,11.3,37 +Apr to Jun 1986,"44,228","27,853","24,695","3,159","16,375",63,55.8,11.3,37 +May to Jul 1986,"44,246","27,888","24,720","3,168","16,358",63,55.9,11.4,37 +Jun to Aug 1986,"44,264","27,915","24,740","3,175","16,348",63.1,55.9,11.4,36.9 +Jul to Sep 1986,"44,282","27,947","24,770","3,177","16,335",63.1,55.9,11.4,36.9 +Aug to Oct 1986,"44,299","27,971","24,800","3,171","16,328",63.1,56,11.3,36.9 +Sep to Nov 1986,"44,317","27,995","24,830","3,165","16,323",63.2,56,11.3,36.8 +Oct to Dec 1986,"44,335","28,006","24,850","3,156","16,330",63.2,56.1,11.3,36.8 +Nov to Jan 1987,"44,353","28,025","24,875","3,150","16,328",63.2,56.1,11.2,36.8 +Dec to Feb 1987,"44,371","28,034","24,900","3,134","16,337",63.2,56.1,11.2,36.8 +Jan to Mar 1987,"44,389","28,038","24,925","3,113","16,351",63.2,56.2,11.1,36.8 +Feb to Apr 1987,"44,407","28,060","24,970","3,090","16,347",63.2,56.2,11,36.8 +Mar to May 1987,"44,425","28,092","25,031","3,061","16,333",63.2,56.3,10.9,36.8 +Apr to Jun 1987,"44,443","28,131","25,110","3,021","16,312",63.3,56.5,10.7,36.7 +May to Jul 1987,"44,461","28,163","25,190","2,973","16,298",63.3,56.7,10.6,36.7 +Jun to Aug 1987,"44,479","28,199","25,270","2,929","16,279",63.4,56.8,10.4,36.6 +Jul to Sep 1987,"44,491","28,230","25,345","2,885","16,261",63.5,57,10.2,36.5 +Aug to Oct 1987,"44,504","28,258","25,420","2,838","16,245",63.5,57.1,10,36.5 +Sep to Nov 1987,"44,516","28,283","25,495","2,788","16,233",63.5,57.3,9.9,36.5 +Oct to Dec 1987,"44,528","28,316","25,575","2,741","16,212",63.6,57.4,9.7,36.4 +Nov to Jan 1988,"44,541","28,352","25,655","2,697","16,189",63.7,57.6,9.5,36.3 +Dec to Feb 1988,"44,553","28,387","25,730","2,657","16,166",63.7,57.8,9.4,36.3 +Jan to Mar 1988,"44,565","28,407","25,795","2,613","16,158",63.7,57.9,9.2,36.3 +Feb to Apr 1988,"44,578","28,429","25,860","2,569","16,149",63.8,58,9,36.2 +Mar to May 1988,"44,590","28,439","25,913","2,526","16,152",63.8,58.1,8.9,36.2 +Apr to Jun 1988,"44,603","28,460","25,970","2,490","16,143",63.8,58.2,8.7,36.2 +May to Jul 1988,"44,615","28,482","26,030","2,452","16,133",63.8,58.3,8.6,36.2 +Jun to Aug 1988,"44,627","28,516","26,100","2,416","16,112",63.9,58.5,8.5,36.1 +Jul to Sep 1988,"44,640","28,545","26,160","2,385","16,094",63.9,58.6,8.4,36.1 +Aug to Oct 1988,"44,652","28,591","26,230","2,361","16,061",64,58.7,8.3,36 +Sep to Nov 1988,"44,664","28,623","26,290","2,333","16,041",64.1,58.9,8.2,35.9 +Oct to Dec 1988,"44,676","28,648","26,355","2,293","16,028",64.1,59,8,35.9 +Nov to Jan 1989,"44,688","28,683","26,430","2,253","16,005",64.2,59.1,7.9,35.8 +Dec to Feb 1989,"44,701","28,723","26,510","2,213","15,977",64.3,59.3,7.7,35.7 +Jan to Mar 1989,"44,713","28,769","26,590","2,179","15,944",64.3,59.5,7.6,35.7 +Feb to Apr 1989,"44,725","28,800","26,660","2,140","15,925",64.4,59.6,7.4,35.6 +Mar to May 1989,"44,737","28,815","26,709","2,106","15,922",64.4,59.7,7.3,35.6 +Apr to Jun 1989,"44,750","28,813","26,730","2,083","15,937",64.4,59.7,7.2,35.6 +May to Jul 1989,"44,762","28,821","26,750","2,071","15,941",64.4,59.8,7.2,35.6 +Jun to Aug 1989,"44,774","28,832","26,775","2,057","15,942",64.4,59.8,7.1,35.6 +Jul to Sep 1989,"44,782","28,840","26,795","2,045","15,942",64.4,59.8,7.1,35.6 +Aug to Oct 1989,"44,790","28,854","26,820","2,034","15,935",64.4,59.9,7.1,35.6 +Sep to Nov 1989,"44,798","28,877","26,850","2,027","15,920",64.5,59.9,7,35.5 +Oct to Dec 1989,"44,805","28,901","26,880","2,021","15,905",64.5,60,7,35.5 +Nov to Jan 1990,"44,813","28,902","26,890","2,012","15,912",64.5,60,7,35.5 +Dec to Feb 1990,"44,821","28,906","26,900","2,006","15,915",64.5,60,6.9,35.5 +Jan to Mar 1990,"44,829","28,904","26,900","2,004","15,925",64.5,60,6.9,35.5 +Feb to Apr 1990,"44,836","28,914","26,910","2,004","15,923",64.5,60,6.9,35.5 +Mar to May 1990,"44,844","28,925","26,922","2,004","15,919",64.5,60,6.9,35.5 +Apr to Jun 1990,"44,852","28,937","26,935","2,002","15,915",64.5,60.1,6.9,35.5 +May to Jul 1990,"44,860","28,954","26,945","2,009","15,906",64.5,60.1,6.9,35.5 +Jun to Aug 1990,"44,868","28,954","26,930","2,024","15,913",64.5,60,7,35.5 +Jul to Sep 1990,"44,875","28,949","26,900","2,049","15,926",64.5,59.9,7.1,35.5 +Aug to Oct 1990,"44,883","28,934","26,855","2,079","15,949",64.5,59.8,7.2,35.5 +Sep to Nov 1990,"44,890","28,920","26,805","2,115","15,970",64.4,59.7,7.3,35.6 +Oct to Dec 1990,"44,898","28,908","26,750","2,158","15,990",64.4,59.6,7.5,35.6 +Nov to Jan 1991,"44,905","28,881","26,685","2,196","16,025",64.3,59.4,7.6,35.7 +Dec to Feb 1991,"44,913","28,859","26,615","2,244","16,053",64.3,59.3,7.8,35.7 +Jan to Mar 1991,"44,920","28,836","26,530","2,306","16,085",64.2,59.1,8,35.8 +Feb to Apr 1991,"44,928","28,828","26,450","2,378","16,100",64.2,58.9,8.2,35.8 +Mar to May 1991,"44,935","28,807","26,365","2,442","16,128",64.1,58.7,8.5,35.9 +Apr to Jun 1991,"44,941","28,767","26,275","2,492","16,174",64,58.5,8.7,36 +May to Jul 1991,"44,947","28,730","26,190","2,540","16,217",63.9,58.3,8.8,36.1 +Jun to Aug 1991,"44,952","28,690","26,105","2,585","16,262",63.8,58.1,9,36.2 +Jul to Sep 1991,"44,958","28,649","26,025","2,624","16,309",63.7,57.9,9.2,36.3 +Aug to Oct 1991,"44,964","28,607","25,955","2,652","16,357",63.6,57.7,9.3,36.4 +Sep to Nov 1991,"44,970","28,560","25,885","2,675","16,409",63.5,57.6,9.4,36.5 +Oct to Dec 1991,"44,975","28,517","25,820","2,697","16,459",63.4,57.4,9.5,36.6 +Nov to Jan 1992,"44,981","28,489","25,775","2,714","16,492",63.3,57.3,9.5,36.7 +Dec to Feb 1992,"44,987","28,476","25,740","2,735","16,511",63.3,57.2,9.6,36.7 +Jan to Mar 1992,"44,992","28,472","25,710","2,762","16,520",63.3,57.1,9.7,36.7 +Feb to Apr 1992,"44,998","28,467","25,685","2,782","16,531",63.3,57.1,9.8,36.7 +Mar to May 1992,"44,992","28,432","25,636","2,796","16,560",63.2,57,9.8,36.8 +Apr to Jun 1992,"44,996","28,383","25,605","2,777","16,613",63.1,56.9,9.8,36.9 +May to Jul 1992,"44,999","28,344","25,542","2,803","16,655",63,56.8,9.9,37 +Jun to Aug 1992,"45,001","28,341","25,525","2,816","16,659",63,56.7,9.9,37 +Jul to Sep 1992,"45,003","28,324","25,509","2,815","16,680",62.9,56.7,9.9,37.1 +Aug to Oct 1992,"45,006","28,304","25,454","2,850","16,702",62.9,56.6,10.1,37.1 +Sep to Nov 1992,"45,007","28,305","25,406","2,899","16,702",62.9,56.4,10.2,37.1 +Oct to Dec 1992,"45,010","28,267","25,336","2,932","16,742",62.8,56.3,10.4,37.2 +Nov to Jan 1993,"45,012","28,284","25,301","2,983","16,728",62.8,56.2,10.5,37.2 +Dec to Feb 1993,"45,014","28,298","25,274","3,023","16,717",62.9,56.1,10.7,37.1 +Jan to Mar 1993,"45,016","28,286","25,282","3,004","16,730",62.8,56.2,10.6,37.2 +Feb to Apr 1993,"45,019","28,247","25,258","2,988","16,772",62.7,56.1,10.6,37.3 +Mar to May 1993,"45,020","28,238","25,286","2,952","16,782",62.7,56.2,10.5,37.3 +Apr to Jun 1993,"45,022","28,224","25,293","2,931","16,798",62.7,56.2,10.4,37.3 +May to Jul 1993,"45,024","28,220","25,293","2,927","16,804",62.7,56.2,10.4,37.3 +Jun to Aug 1993,"45,029","28,184","25,278","2,906","16,844",62.6,56.1,10.3,37.4 +Jul to Sep 1993,"45,033","28,206","25,316","2,890","16,827",62.6,56.2,10.2,37.4 +Aug to Oct 1993,"45,037","28,212","25,320","2,892","16,825",62.6,56.2,10.3,37.4 +Sep to Nov 1993,"45,041","28,205","25,319","2,885","16,837",62.6,56.2,10.2,37.4 +Oct to Dec 1993,"45,046","28,213","25,320","2,892","16,833",62.6,56.2,10.3,37.4 +Nov to Jan 1994,"45,051","28,214","25,322","2,892","16,837",62.6,56.2,10.3,37.4 +Dec to Feb 1994,"45,054","28,207","25,362","2,845","16,847",62.6,56.3,10.1,37.4 +Jan to Mar 1994,"45,059","28,214","25,408","2,806","16,845",62.6,56.4,9.9,37.4 +Feb to Apr 1994,"45,064","28,220","25,451","2,769","16,843",62.6,56.5,9.8,37.4 +Mar to May 1994,"45,067","28,205","25,455","2,750","16,862",62.6,56.5,9.7,37.4 +Apr to Jun 1994,"45,072","28,187","25,451","2,736","16,885",62.5,56.5,9.7,37.5 +May to Jul 1994,"45,076","28,221","25,516","2,705","16,855",62.6,56.6,9.6,37.4 +Jun to Aug 1994,"45,088","28,208","25,517","2,691","16,879",62.6,56.6,9.5,37.4 +Jul to Sep 1994,"45,099","28,198","25,559","2,639","16,901",62.5,56.7,9.4,37.5 +Aug to Oct 1994,"45,112","28,169","25,561","2,608","16,943",62.4,56.7,9.3,37.6 +Sep to Nov 1994,"45,122","28,149","25,594","2,556","16,973",62.4,56.7,9.1,37.6 +Oct to Dec 1994,"45,134","28,121","25,600","2,521","17,014",62.3,56.7,9,37.7 +Nov to Jan 1995,"45,146","28,080","25,583","2,497","17,066",62.2,56.7,8.9,37.8 +Dec to Feb 1995,"45,157","28,134","25,638","2,496","17,024",62.3,56.8,8.9,37.7 +Jan to Mar 1995,"45,169","28,167","25,670","2,497","17,002",62.4,56.8,8.9,37.6 +Feb to Apr 1995,"45,182","28,195","25,705","2,490","16,987",62.4,56.9,8.8,37.6 +Mar to May 1995,"45,193","28,206","25,733","2,473","16,987",62.4,56.9,8.8,37.6 +Apr to Jun 1995,"45,205","28,215","25,770","2,445","16,990",62.4,57,8.7,37.6 +May to Jul 1995,"45,216","28,239","25,791","2,448","16,977",62.5,57,8.7,37.5 +Jun to Aug 1995,"45,228","28,276","25,838","2,439","16,952",62.5,57.1,8.6,37.5 +Jul to Sep 1995,"45,242","28,300","25,852","2,447","16,943",62.6,57.1,8.6,37.4 +Aug to Oct 1995,"45,255","28,307","25,869","2,438","16,948",62.5,57.2,8.6,37.5 +Sep to Nov 1995,"45,268","28,312","25,891","2,421","16,956",62.5,57.2,8.6,37.5 +Oct to Dec 1995,"45,283","28,335","25,982","2,353","16,947",62.6,57.4,8.3,37.4 +Nov to Jan 1996,"45,295","28,363","25,987","2,377","16,932",62.6,57.4,8.4,37.4 +Dec to Feb 1996,"45,308","28,338","25,981","2,357","16,970",62.5,57.3,8.3,37.5 +Jan to Mar 1996,"45,322","28,301","25,970","2,330","17,021",62.4,57.3,8.2,37.6 +Feb to Apr 1996,"45,334","28,327","25,977","2,350","17,007",62.5,57.3,8.3,37.5 +Mar to May 1996,"45,348","28,349","26,002","2,347","16,999",62.5,57.3,8.3,37.5 +Apr to Jun 1996,"45,361","28,350","26,009","2,340","17,012",62.5,57.3,8.3,37.5 +May to Jul 1996,"45,375","28,320","26,006","2,314","17,055",62.4,57.3,8.2,37.6 +Jun to Aug 1996,"45,388","28,348","26,063","2,285","17,040",62.5,57.4,8.1,37.5 +Jul to Sep 1996,"45,401","28,347","26,062","2,285","17,054",62.4,57.4,8.1,37.6 +Aug to Oct 1996,"45,415","28,407","26,120","2,287","17,008",62.6,57.5,8.1,37.4 +Sep to Nov 1996,"45,428","28,439","26,177","2,262","16,989",62.6,57.6,8,37.4 +Oct to Dec 1996,"45,441","28,427","26,198","2,229","17,014",62.6,57.7,7.8,37.4 +Nov to Jan 1997,"45,454","28,439","26,258","2,181","17,015",62.6,57.8,7.7,37.4 +Dec to Feb 1997,"45,467","28,456","26,324","2,131","17,012",62.6,57.9,7.5,37.4 +Jan to Mar 1997,"45,481","28,466","26,381","2,085","17,015",62.6,58,7.3,37.4 +Feb to Apr 1997,"45,493","28,480","26,428","2,052","17,013",62.6,58.1,7.2,37.4 +Mar to May 1997,"45,507","28,497","26,450","2,047","17,010",62.6,58.1,7.2,37.4 +Apr to Jun 1997,"45,520","28,564","26,514","2,051","16,956",62.8,58.2,7.2,37.2 +May to Jul 1997,"45,533","28,577","26,493","2,083","16,956",62.8,58.2,7.3,37.2 +Jun to Aug 1997,"45,547","28,531","26,509","2,022","17,016",62.6,58.2,7.1,37.4 +Jul to Sep 1997,"45,561","28,523","26,572","1,951","17,039",62.6,58.3,6.8,37.4 +Aug to Oct 1997,"45,576","28,512","26,603","1,909","17,064",62.6,58.4,6.7,37.4 +Sep to Nov 1997,"45,590","28,509","26,622","1,887","17,081",62.5,58.4,6.6,37.5 +Oct to Dec 1997,"45,605","28,500","26,636","1,864","17,105",62.5,58.4,6.5,37.5 +Nov to Jan 1998,"45,620","28,453","26,632","1,821","17,167",62.4,58.4,6.4,37.6 +Dec to Feb 1998,"45,634","28,474","26,658","1,816","17,160",62.4,58.4,6.4,37.6 +Jan to Mar 1998,"45,648","28,490","26,677","1,813","17,159",62.4,58.4,6.4,37.6 +Feb to Apr 1998,"45,662","28,506","26,707","1,799","17,156",62.4,58.5,6.3,37.6 +Mar to May 1998,"45,677","28,495","26,708","1,787","17,182",62.4,58.5,6.3,37.6 +Apr to Jun 1998,"45,691","28,505","26,714","1,791","17,186",62.4,58.5,6.3,37.6 +May to Jul 1998,"45,706","28,571","26,770","1,800","17,136",62.5,58.6,6.3,37.5 +Jun to Aug 1998,"45,724","28,632","26,824","1,807","17,093",62.6,58.7,6.3,37.4 +Jul to Sep 1998,"45,743","28,619","26,834","1,786","17,124",62.6,58.7,6.2,37.4 +Aug to Oct 1998,"45,760","28,660","26,878","1,782","17,100",62.6,58.7,6.2,37.4 +Sep to Nov 1998,"45,778","28,706","26,939","1,768","17,072",62.7,58.8,6.2,37.3 +Oct to Dec 1998,"45,796","28,719","26,955","1,764","17,077",62.7,58.9,6.1,37.3 +Nov to Jan 1999,"45,815","28,790","27,000","1,790","17,024",62.8,58.9,6.2,37.2 +Dec to Feb 1999,"45,833","28,812","27,018","1,794","17,021",62.9,58.9,6.2,37.1 +Jan to Mar 1999,"45,851","28,816","27,036","1,780","17,036",62.8,59,6.2,37.2 +Feb to Apr 1999,"45,869","28,816","27,042","1,773","17,054",62.8,59,6.2,37.2 +Mar to May 1999,"45,888","28,819","27,058","1,760","17,069",62.8,59,6.1,37.2 +Apr to Jun 1999,"45,905","28,839","27,095","1,743","17,067",62.8,59,6,37.2 +May to Jul 1999,"45,924","28,838","27,115","1,723","17,085",62.8,59,6,37.2 +Jun to Aug 1999,"45,945","28,875","27,170","1,705","17,070",62.8,59.1,5.9,37.2 +Jul to Sep 1999,"45,965","28,920","27,218","1,702","17,045",62.9,59.2,5.9,37.1 +Aug to Oct 1999,"45,986","28,899","27,212","1,687","17,087",62.8,59.2,5.8,37.2 +Sep to Nov 1999,"46,007","28,964","27,270","1,693","17,044",63,59.3,5.8,37 +Oct to Dec 1999,"46,028","29,006","27,322","1,684","17,022",63,59.4,5.8,37 +Nov to Jan 2000,"46,049","29,008","27,307","1,702","17,041",63,59.3,5.9,37 +Dec to Feb 2000,"46,069","28,993","27,309","1,685","17,076",62.9,59.3,5.8,37.1 +Jan to Mar 2000,"46,090","29,044","27,362","1,682","17,046",63,59.4,5.8,37 +Feb to Apr 2000,"46,112","29,061","27,406","1,655","17,051",63,59.4,5.7,37 +Mar to May 2000,"46,132","29,081","27,442","1,640","17,051",63,59.5,5.6,37 +Apr to Jun 2000,"46,152","29,067","27,468","1,599","17,085",63,59.5,5.5,37 +May to Jul 2000,"46,174","29,080","27,528","1,551","17,094",63,59.6,5.3,37 +Jun to Aug 2000,"46,200","29,094","27,565","1,529","17,106",63,59.7,5.3,37 +Jul to Sep 2000,"46,226","29,103","27,555","1,548","17,123",63,59.6,5.3,37 +Aug to Oct 2000,"46,254","29,099","27,528","1,571","17,155",62.9,59.5,5.4,37.1 +Sep to Nov 2000,"46,281","29,056","27,516","1,540","17,225",62.8,59.5,5.3,37.2 +Oct to Dec 2000,"46,307","29,068","27,549","1,520","17,239",62.8,59.5,5.2,37.2 +Nov to Jan 2001,"46,334","29,142","27,637","1,504","17,192",62.9,59.6,5.2,37.1 +Dec to Feb 2001,"46,361","29,134","27,618","1,516","17,227",62.8,59.6,5.2,37.2 +Jan to Mar 2001,"46,386","29,105","27,623","1,481","17,282",62.7,59.6,5.1,37.3 +Feb to Apr 2001,"46,414","29,122","27,663","1,459","17,291",62.7,59.6,5,37.3 +Mar to May 2001,"46,440","29,130","27,699","1,431","17,310",62.7,59.6,4.9,37.3 +Apr to Jun 2001,"46,467","29,174","27,707","1,468","17,293",62.8,59.6,5,37.2 +May to Jul 2001,"46,494","29,171","27,699","1,472","17,322",62.7,59.6,5,37.3 +Jun to Aug 2001,"46,514","29,201","27,719","1,483","17,313",62.8,59.6,5.1,37.2 +Jul to Sep 2001,"46,541","29,203","27,715","1,487","17,338",62.7,59.6,5.1,37.3 +Aug to Oct 2001,"46,568","29,223","27,735","1,487","17,345",62.8,59.6,5.1,37.2 +Sep to Nov 2001,"46,594","29,282","27,787","1,495","17,312",62.8,59.6,5.1,37.2 +Oct to Dec 2001,"46,621","29,323","27,803","1,520","17,299",62.9,59.6,5.2,37.1 +Nov to Jan 2002,"46,648","29,287","27,769","1,518","17,361",62.8,59.5,5.2,37.2 +Dec to Feb 2002,"46,675","29,289","27,781","1,508","17,386",62.8,59.5,5.1,37.2 +Jan to Mar 2002,"46,701","29,312","27,797","1,515","17,389",62.8,59.5,5.2,37.2 +Feb to Apr 2002,"46,728","29,379","27,856","1,522","17,349",62.9,59.6,5.2,37.1 +Mar to May 2002,"46,755","29,430","27,888","1,542","17,325",62.9,59.6,5.2,37.1 +Apr to Jun 2002,"46,782","29,452","27,933","1,520","17,330",63,59.7,5.2,37 +May to Jul 2002,"46,808","29,434","27,908","1,527","17,373",62.9,59.6,5.2,37.1 +Jun to Aug 2002,"46,835","29,488","27,949","1,539","17,347",63,59.7,5.2,37 +Jul to Sep 2002,"46,861","29,501","27,935","1,566","17,360",63,59.6,5.3,37 +Aug to Oct 2002,"46,888","29,568","28,023","1,546","17,319",63.1,59.8,5.2,36.9 +Sep to Nov 2002,"46,913","29,591","28,059","1,532","17,323",63.1,59.8,5.2,36.9 +Oct to Dec 2002,"46,940","29,626","28,110","1,516","17,315",63.1,59.9,5.1,36.9 +Nov to Jan 2003,"46,967","29,561","28,081","1,480","17,406",62.9,59.8,5,37.1 +Dec to Feb 2003,"46,993","29,575","28,058","1,517","17,419",62.9,59.7,5.1,37.1 +Jan to Mar 2003,"47,020","29,630","28,099","1,531","17,389",63,59.8,5.2,37 +Feb to Apr 2003,"47,046","29,659","28,142","1,517","17,387",63,59.8,5.1,37 +Mar to May 2003,"47,073","29,684","28,199","1,486","17,388",63.1,59.9,5,36.9 +Apr to Jun 2003,"47,099","29,693","28,226","1,467","17,406",63,59.9,4.9,37 +May to Jul 2003,"47,125","29,742","28,236","1,506","17,384",63.1,59.9,5.1,36.9 +Jun to Aug 2003,"47,155","29,732","28,228","1,504","17,423",63.1,59.9,5.1,36.9 +Jul to Sep 2003,"47,186","29,758","28,256","1,502","17,428",63.1,59.9,5,36.9 +Aug to Oct 2003,"47,216","29,758","28,285","1,473","17,458",63,59.9,5,37 +Sep to Nov 2003,"47,247","29,757","28,295","1,461","17,490",63,59.9,4.9,37 +Oct to Dec 2003,"47,277","29,762","28,304","1,457","17,516",63,59.9,4.9,37 +Nov to Jan 2004,"47,307","29,841","28,399","1,442","17,466",63.1,60,4.8,36.9 +Dec to Feb 2004,"47,338","29,874","28,438","1,436","17,463",63.1,60.1,4.8,36.9 +Jan to Mar 2004,"47,368","29,894","28,459","1,434","17,474",63.1,60.1,4.8,36.9 +Feb to Apr 2004,"47,398","29,887","28,449","1,437","17,512",63.1,60,4.8,36.9 +Mar to May 2004,"47,429","29,900","28,466","1,435","17,529",63,60,4.8,37 +Apr to Jun 2004,"47,459","29,907","28,470","1,437","17,552",63,60,4.8,37 +May to Jul 2004,"47,488","29,887","28,464","1,423","17,601",62.9,59.9,4.8,37.1 +Jun to Aug 2004,"47,529","29,885","28,480","1,405","17,644",62.9,59.9,4.7,37.1 +Jul to Sep 2004,"47,570","29,919","28,518","1,401","17,650",62.9,60,4.7,37.1 +Aug to Oct 2004,"47,610","29,941","28,544","1,397","17,669",62.9,60,4.7,37.1 +Sep to Nov 2004,"47,650","30,034","28,627","1,407","17,616",63,60.1,4.7,37 +Oct to Dec 2004,"47,689","30,097","28,673","1,423","17,593",63.1,60.1,4.7,36.9 +Nov to Jan 2005,"47,730","30,152","28,726","1,425","17,579",63.2,60.2,4.7,36.8 +Dec to Feb 2005,"47,771","30,241","28,794","1,447","17,530",63.3,60.3,4.8,36.7 +Jan to Mar 2005,"47,811","30,205","28,789","1,416","17,606",63.2,60.2,4.7,36.8 +Feb to Apr 2005,"47,851","30,179","28,759","1,420","17,672",63.1,60.1,4.7,36.9 +Mar to May 2005,"47,891","30,215","28,780","1,436","17,676",63.1,60.1,4.8,36.9 +Apr to Jun 2005,"47,932","30,240","28,802","1,437","17,692",63.1,60.1,4.8,36.9 +May to Jul 2005,"47,972","30,279","28,855","1,424","17,693",63.1,60.1,4.7,36.9 +Jun to Aug 2005,"48,008","30,327","28,906","1,420","17,681",63.2,60.2,4.7,36.8 +Jul to Sep 2005,"48,044","30,365","28,928","1,437","17,678",63.2,60.2,4.7,36.8 +Aug to Oct 2005,"48,079","30,413","28,913","1,500","17,666",63.3,60.1,4.9,36.7 +Sep to Nov 2005,"48,115","30,418","28,880","1,538","17,696",63.2,60,5.1,36.8 +Oct to Dec 2005,"48,150","30,447","28,880","1,567","17,703",63.2,60,5.1,36.8 +Nov to Jan 2006,"48,186","30,485","28,934","1,551","17,701",63.3,60,5.1,36.7 +Dec to Feb 2006,"48,221","30,572","28,988","1,584","17,649",63.4,60.1,5.2,36.6 +Jan to Mar 2006,"48,257","30,653","29,048","1,604","17,605",63.5,60.2,5.2,36.5 +Feb to Apr 2006,"48,292","30,718","29,085","1,633","17,575",63.6,60.2,5.3,36.4 +Mar to May 2006,"48,328","30,727","29,063","1,664","17,601",63.6,60.1,5.4,36.4 +Apr to Jun 2006,"48,364","30,791","29,106","1,685","17,573",63.7,60.2,5.5,36.3 +May to Jul 2006,"48,400","30,838","29,140","1,698","17,562",63.7,60.2,5.5,36.3 +Jun to Aug 2006,"48,440","30,914","29,224","1,690","17,526",63.8,60.3,5.5,36.2 +Jul to Sep 2006,"48,481","30,877","29,183","1,693","17,604",63.7,60.2,5.5,36.3 +Aug to Oct 2006,"48,520","30,880","29,189","1,691","17,640",63.6,60.2,5.5,36.4 +Sep to Nov 2006,"48,560","30,877","29,204","1,674","17,683",63.6,60.1,5.4,36.4 +Oct to Dec 2006,"48,602","30,915","29,214","1,701","17,687",63.6,60.1,5.5,36.4 +Nov to Jan 2007,"48,641","30,905","29,202","1,703","17,737",63.5,60,5.5,36.5 +Dec to Feb 2007,"48,682","30,883","29,175","1,708","17,799",63.4,59.9,5.5,36.6 +Jan to Mar 2007,"48,722","30,898","29,194","1,704","17,824",63.4,59.9,5.5,36.6 +Feb to Apr 2007,"48,762","30,924","29,232","1,692","17,838",63.4,59.9,5.5,36.6 +Mar to May 2007,"48,803","30,984","29,314","1,670","17,819",63.5,60.1,5.4,36.5 +Apr to Jun 2007,"48,843","30,980","29,322","1,658","17,863",63.4,60,5.4,36.6 +May to Jul 2007,"48,883","30,997","29,352","1,645","17,887",63.4,60,5.3,36.6 +Jun to Aug 2007,"48,923","31,020","29,376","1,645","17,902",63.4,60,5.3,36.6 +Jul to Sep 2007,"48,962","31,069","29,420","1,650","17,892",63.5,60.1,5.3,36.5 +Aug to Oct 2007,"49,001","31,100","29,470","1,629","17,902",63.5,60.1,5.2,36.5 +Sep to Nov 2007,"49,040","31,159","29,527","1,633","17,881",63.5,60.2,5.2,36.5 +Oct to Dec 2007,"49,079","31,184","29,576","1,608","17,895",63.5,60.3,5.2,36.5 +Nov to Jan 2008,"49,119","31,231","29,614","1,617","17,888",63.6,60.3,5.2,36.4 +Dec to Feb 2008,"49,158","31,298","29,676","1,622","17,860",63.7,60.4,5.2,36.3 +Jan to Mar 2008,"49,197","31,306","29,684","1,622","17,891",63.6,60.3,5.2,36.4 +Feb to Apr 2008,"49,237","31,373","29,706","1,667","17,863",63.7,60.3,5.3,36.3 +Mar to May 2008,"49,276","31,373","29,749","1,625","17,903",63.7,60.4,5.2,36.3 +Apr to Jun 2008,"49,315","31,402","29,722","1,680","17,913",63.7,60.3,5.4,36.3 +May to Jul 2008,"49,354","31,420","29,696","1,724","17,935",63.7,60.2,5.5,36.3 +Jun to Aug 2008,"49,387","31,405","29,612","1,793","17,982",63.6,60,5.7,36.4 +Jul to Sep 2008,"49,419","31,420","29,580","1,840","17,999",63.6,59.9,5.9,36.4 +Aug to Oct 2008,"49,453","31,410","29,535","1,875","18,043",63.5,59.7,6,36.5 +Sep to Nov 2008,"49,485","31,497","29,556","1,941","17,988",63.6,59.7,6.2,36.4 +Oct to Dec 2008,"49,517","31,532","29,528","2,003","17,986",63.7,59.6,6.4,36.3 +Nov to Jan 2009,"49,550","31,596","29,539","2,057","17,953",63.8,59.6,6.5,36.2 +Dec to Feb 2009,"49,582","31,558","29,429","2,128","18,025",63.6,59.4,6.7,36.4 +Jan to Mar 2009,"49,615","31,601","29,366","2,235","18,014",63.7,59.2,7.1,36.3 +Feb to Apr 2009,"49,648","31,568","29,272","2,296","18,079",63.6,59,7.3,36.4 +Mar to May 2009,"49,680","31,550","29,155","2,395","18,130",63.5,58.7,7.6,36.5 +Apr to Jun 2009,"49,712","31,536","29,087","2,448","18,176",63.4,58.5,7.8,36.6 +May to Jul 2009,"49,745","31,496","29,018","2,478","18,249",63.3,58.3,7.9,36.7 +Jun to Aug 2009,"49,782","31,560","29,076","2,484","18,222",63.4,58.4,7.9,36.6 +Jul to Sep 2009,"49,820","31,545","29,069","2,475","18,275",63.3,58.3,7.8,36.7 +Aug to Oct 2009,"49,857","31,568","29,084","2,484","18,289",63.3,58.3,7.9,36.7 +Sep to Nov 2009,"49,894","31,547","29,092","2,455","18,347",63.2,58.3,7.8,36.8 +Oct to Dec 2009,"49,932","31,554","29,102","2,453","18,377",63.2,58.3,7.8,36.8 +Nov to Jan 2010,"49,968","31,491","29,057","2,434","18,477",63,58.2,7.7,37 +Dec to Feb 2010,"50,006","31,520","29,024","2,496","18,485",63,58,7.9,37 +Jan to Mar 2010,"50,043","31,539","29,013","2,526","18,504",63,58,8,37 +Feb to Apr 2010,"50,080","31,557","29,048","2,510","18,523",63,58,8,37 +Mar to May 2010,"50,117","31,651","29,144","2,508","18,466",63.2,58.2,7.9,36.8 +Apr to Jun 2010,"50,155","31,680","29,192","2,488","18,475",63.2,58.2,7.9,36.8 +May to Jul 2010,"50,192","31,813","29,325","2,488","18,379",63.4,58.4,7.8,36.6 +Jun to Aug 2010,"50,230","31,815","29,339","2,476","18,415",63.3,58.4,7.8,36.7 +Jul to Sep 2010,"50,268","31,856","29,385","2,470","18,413",63.4,58.5,7.8,36.6 +Aug to Oct 2010,"50,307","31,821","29,308","2,513","18,486",63.3,58.3,7.9,36.7 +Sep to Nov 2010,"50,344","31,786","29,284","2,502","18,559",63.1,58.2,7.9,36.9 +Oct to Dec 2010,"50,383","31,827","29,324","2,503","18,556",63.2,58.2,7.9,36.8 +Nov to Jan 2011,"50,420","31,915","29,391","2,524","18,505",63.3,58.3,7.9,36.7 +Dec to Feb 2011,"50,460","31,934","29,442","2,492","18,526",63.3,58.3,7.8,36.7 +Jan to Mar 2011,"50,497","31,924","29,441","2,483","18,572",63.2,58.3,7.8,36.8 +Feb to Apr 2011,"50,535","31,897","29,436","2,462","18,638",63.1,58.2,7.7,36.9 +Mar to May 2011,"50,574","31,967","29,466","2,500","18,607",63.2,58.3,7.8,36.8 +Apr to Jun 2011,"50,611","31,986","29,447","2,540","18,625",63.2,58.2,7.9,36.8 +May to Jul 2011,"50,650","31,901","29,345","2,556","18,748",63,57.9,8,37 +Jun to Aug 2011,"50,676","31,909","29,299","2,611","18,767",63,57.8,8.2,37 +Jul to Sep 2011,"50,701","31,942","29,281","2,662","18,759",63,57.8,8.3,37 +Aug to Oct 2011,"50,727","31,977","29,300","2,677","18,749",63,57.8,8.4,37 +Sep to Nov 2011,"50,754","32,038","29,325","2,713","18,715",63.1,57.8,8.5,36.9 +Oct to Dec 2011,"50,779","32,031","29,342","2,689","18,748",63.1,57.8,8.4,36.9 +Nov to Jan 2012,"50,805","32,021","29,346","2,674","18,784",63,57.8,8.4,37 +Dec to Feb 2012,"50,831","32,036","29,381","2,655","18,795",63,57.8,8.3,37 +Jan to Mar 2012,"50,857","32,088","29,454","2,635","18,769",63.1,57.9,8.2,36.9 +Feb to Apr 2012,"50,883","32,117","29,492","2,625","18,767",63.1,58,8.2,36.9 +Mar to May 2012,"50,909","32,163","29,564","2,599","18,745",63.2,58.1,8.1,36.8 +Apr to Jun 2012,"50,935","32,244","29,667","2,577","18,691",63.3,58.2,8,36.7 +May to Jul 2012,"50,961","32,344","29,744","2,600","18,617",63.5,58.4,8,36.5 +Jun to Aug 2012,"50,987","32,329","29,779","2,551","18,658",63.4,58.4,7.9,36.6 +Jul to Sep 2012,"51,014","32,297","29,759","2,539","18,717",63.3,58.3,7.9,36.7 +Aug to Oct 2012,"51,040","32,279","29,744","2,534","18,762",63.2,58.3,7.9,36.8 +Sep to Nov 2012,"51,067","32,381","29,849","2,532","18,686",63.4,58.5,7.8,36.6 +Oct to Dec 2012,"51,094","32,443","29,908","2,535","18,652",63.5,58.5,7.8,36.5 +Nov to Jan 2013,"51,121","32,427","29,891","2,537","18,694",63.4,58.5,7.8,36.6 +Dec to Feb 2013,"51,147","32,399","29,815","2,584","18,748",63.3,58.3,8,36.7 +Jan to Mar 2013,"51,174","32,379","29,839","2,540","18,795",63.3,58.3,7.8,36.7 +Feb to Apr 2013,"51,201","32,409","29,884","2,525","18,792",63.3,58.4,7.8,36.7 +Mar to May 2013,"51,228","32,372","29,861","2,511","18,856",63.2,58.3,7.8,36.8 +Apr to Jun 2013,"51,255","32,453","29,938","2,515","18,802",63.3,58.4,7.7,36.7 +May to Jul 2013,"51,281","32,487","29,994","2,492","18,794",63.4,58.5,7.7,36.6 +Jun to Aug 2013,"51,313","32,528","30,024","2,504","18,785",63.4,58.5,7.7,36.6 +Jul to Sep 2013,"51,345","32,589","30,106","2,483","18,756",63.5,58.6,7.6,36.5 +Aug to Oct 2013,"51,378","32,627","30,223","2,404","18,751",63.5,58.8,7.4,36.5 +Sep to Nov 2013,"51,410","32,642","30,302","2,340","18,768",63.5,58.9,7.2,36.5 +Oct to Dec 2013,"51,442","32,648","30,290","2,357","18,795",63.5,58.9,7.2,36.5 +Nov to Jan 2014,"51,475","32,669","30,329","2,340","18,806",63.5,58.9,7.2,36.5 +Dec to Feb 2014,"51,507","32,749","30,492","2,256","18,758",63.6,59.2,6.9,36.4 +Jan to Mar 2014,"51,539","32,744","30,532","2,212","18,795",63.5,59.2,6.8,36.5 +Feb to Apr 2014,"51,571","32,801","30,640","2,161","18,770",63.6,59.4,6.6,36.4 +Mar to May 2014,"51,604","32,855","30,743","2,112","18,749",63.7,59.6,6.4,36.3 +Apr to Jun 2014,"51,636","32,765","30,705","2,061","18,871",63.5,59.5,6.3,36.5 +May to Jul 2014,"51,668","32,712","30,702","2,010","18,956",63.3,59.4,6.1,36.7 +Jun to Aug 2014,"51,702","32,758","30,786","1,972","18,944",63.4,59.5,6,36.6 +Jul to Sep 2014,"51,735","32,794","30,833","1,961","18,941",63.4,59.6,6,36.6 +Aug to Oct 2014,"51,769","32,802","30,848","1,953","18,967",63.4,59.6,6,36.6 +Sep to Nov 2014,"51,803","32,774","30,850","1,924","19,028",63.3,59.6,5.9,36.7 +Oct to Dec 2014,"51,837","32,814","30,944","1,870","19,023",63.3,59.7,5.7,36.7 +Nov to Jan 2015,"51,869","32,862","31,003","1,858","19,008",63.4,59.8,5.7,36.6 +Dec to Feb 2015,"51,903","32,963","31,122","1,840","18,940",63.5,60,5.6,36.5 +Jan to Mar 2015,"51,936","32,982","31,156","1,826","18,955",63.5,60,5.5,36.5 +Feb to Apr 2015,"51,970","32,942","31,129","1,813","19,028",63.4,59.9,5.5,36.6 +Mar to May 2015,"52,003","32,906","31,057","1,848","19,098",63.3,59.7,5.6,36.7 +Apr to Jun 2015,"52,037","32,959","31,110","1,849","19,078",63.3,59.8,5.6,36.7 +May to Jul 2015,"52,071","33,010","31,188","1,822","19,061",63.4,59.9,5.5,36.6 +Jun to Aug 2015,"52,104","33,000","31,220","1,779","19,104",63.3,59.9,5.4,36.7 +Jul to Sep 2015,"52,137","33,093","31,333","1,760","19,044",63.5,60.1,5.3,36.5 +Aug to Oct 2015,"52,170","33,152","31,436","1,715","19,019",63.5,60.3,5.2,36.5 +Sep to Nov 2015,"52,203","33,200","31,513","1,687","19,003",63.6,60.4,5.1,36.4 +Oct to Dec 2015,"52,236","33,227","31,540","1,688","19,009",63.6,60.4,5.1,36.4 +Nov to Jan 2016,"52,269","33,225","31,541","1,684","19,044",63.6,60.3,5.1,36.4 +Dec to Feb 2016,"52,302","33,255","31,555","1,700","19,047",63.6,60.3,5.1,36.4 +Jan to Mar 2016,"52,336","33,259","31,572","1,687","19,077",63.5,60.3,5.1,36.5 +Feb to Apr 2016,"52,369","33,269","31,603","1,666","19,099",63.5,60.3,5,36.5 +Mar to May 2016,"52,402","33,360","31,712","1,648","19,042",63.7,60.5,4.9,36.3 +Apr to Jun 2016,"52,434","33,390","31,747","1,643","19,045",63.7,60.5,4.9,36.3 +May to Jul 2016,"52,468","33,414","31,779","1,635","19,054",63.7,60.6,4.9,36.3 +Jun to Aug 2016,"52,490","33,479","31,811","1,668","19,011",63.8,60.6,5,36.2 +Jul to Sep 2016,"52,513","33,428","31,810","1,618","19,085",63.7,60.6,4.8,36.3 +Aug to Oct 2016,"52,535","33,407","31,794","1,613","19,128",63.6,60.5,4.8,36.4 +Sep to Nov 2016,"52,558","33,409","31,808","1,602","19,149",63.6,60.5,4.8,36.4 +Oct to Dec 2016,"52,581","33,430","31,845","1,585","19,151",63.6,60.6,4.7,36.4 +Nov to Jan 2017,"52,603","33,421","31,847","1,573","19,183",63.5,60.5,4.7,36.5 +Dec to Feb 2017,"52,626","33,410","31,860","1,550","19,216",63.5,60.5,4.6,36.5 +Jan to Mar 2017,"52,648","33,474","31,946","1,527","19,175",63.6,60.7,4.6,36.4 +Feb to Apr 2017,"52,671","33,476","31,956","1,520","19,196",63.6,60.7,4.5,36.4 +Mar to May 2017,"52,694","33,500","32,010","1,489","19,195",63.6,60.7,4.4,36.4 +Apr to Jun 2017,"52,716","33,550","32,065","1,485","19,166",63.6,60.8,4.4,36.4 +May to Jul 2017,"52,739","33,590","32,133","1,457","19,149",63.7,60.9,4.3,36.3 +Jun to Aug 2017,"52,763","33,556","32,104","1,452","19,206",63.6,60.8,4.3,36.4 +Jul to Sep 2017,"52,787","33,492","32,063","1,429","19,295",63.4,60.7,4.3,36.6 +Aug to Oct 2017,"52,811","33,517","32,094","1,422","19,294",63.5,60.8,4.2,36.5 +Sep to Nov 2017,"52,834","33,650","32,213","1,437","19,184",63.7,61,4.3,36.3 +Oct to Dec 2017,"52,858","33,617","32,154","1,463","19,242",63.6,60.8,4.4,36.4 +Nov to Jan 2018,"52,881","33,692","32,241","1,451","19,190",63.7,61,4.3,36.3 +Dec to Feb 2018,"52,906","33,683","32,264","1,419","19,223",63.7,61,4.2,36.3 +Jan to Mar 2018,"52,929","33,760","32,343","1,417","19,169",63.8,61.1,4.2,36.2 +Feb to Apr 2018,"52,953","33,805","32,389","1,416","19,148",63.8,61.2,4.2,36.2 +Mar to May 2018,"52,978","33,803","32,395","1,408","19,175",63.8,61.1,4.2,36.2 +Apr to Jun 2018,"53,001","33,749","32,386","1,362","19,252",63.7,61.1,4,36.3 +May to Jul 2018,"53,025","33,765","32,408","1,358","19,260",63.7,61.1,4,36.3 +Jun to Aug 2018,"53,047","33,773","32,410","1,363","19,274",63.7,61.1,4,36.3 +Jul to Sep 2018,"53,070","33,808","32,431","1,377","19,262",63.7,61.1,4.1,36.3 +Aug to Oct 2018,"53,093","33,865","32,492","1,373","19,227",63.8,61.2,4.1,36.2 +Sep to Nov 2018,"53,116","33,912","32,542","1,370","19,203",63.8,61.3,4,36.2 +Oct to Dec 2018,"53,138","33,960","32,597","1,363","19,178",63.9,61.3,4,36.1 +Nov to Jan 2019,"53,161","34,052","32,714","1,338","19,109",64.1,61.5,3.9,35.9 +Dec to Feb 2019,"53,184","34,063","32,721","1,343","19,120",64,61.5,3.9,36 +Jan to Mar 2019,"53,206","33,995","32,697","1,298","19,212",63.9,61.5,3.8,36.1 +Feb to Apr 2019,"53,229","34,050","32,746","1,304","19,179",64,61.5,3.8,36 +Mar to May 2019,"53,252","34,041","32,749","1,292","19,211",63.9,61.5,3.8,36.1 +Apr to Jun 2019,"53,275","34,140","32,811","1,329","19,134",64.1,61.6,3.9,35.9 +May to Jul 2019,"53,298","34,071","32,777","1,294","19,227",63.9,61.5,3.8,36.1 +Jun to Aug 2019,"53,321","34,006","32,693","1,314","19,315",63.8,61.3,3.9,36.2 +Jul to Sep 2019,"53,345","34,059","32,753","1,306","19,286",63.8,61.4,3.8,36.2 +Aug to Oct 2019,"53,368","34,082","32,801","1,281","19,286",63.9,61.5,3.8,36.1 +Sep to Nov 2019,"53,391","34,207","32,901","1,306","19,184",64.1,61.6,3.8,35.9 +Oct to Dec 2019,"53,415","34,223","32,934","1,290","19,192",64.1,61.7,3.8,35.9 +Nov to Jan 2020,"53,439","34,328","32,985","1,343","19,111",64.2,61.7,3.9,35.8 +Dec to Feb 2020,"53,463","34,437","33,073","1,364","19,026",64.4,61.9,4,35.6 +Jan to Mar 2020,"53,485","34,371","33,005","1,365","19,115",64.3,61.7,4,35.7 +Feb to Apr 2020,"53,509","34,207","32,840","1,367","19,303",63.9,61.4,4,36.1 +Mar to May 2020,"53,534","34,127","32,744","1,384","19,407",63.7,61.2,4.1,36.3 +Apr to Jun 2020,"53,556","34,051","32,671","1,381","19,505",63.6,61,4.1,36.4 +May to Jul 2020,"53,580","34,116","32,665","1,451","19,464",63.7,61,4.3,36.3 +Jun to Aug 2020,"53,603","34,113","32,591","1,522","19,490",63.6,60.8,4.5,36.4 +Jul to Sep 2020,"53,626","34,130","32,507","1,624","19,496",63.6,60.6,4.8,36.4 +Aug to Oct 2020,"53,649","34,213","32,522","1,692","19,436",63.8,60.6,4.9,36.2 diff --git a/gptables/examples/survey_data.py b/gptables/examples/survey_data.py new file mode 100644 index 0000000..f7b07ee --- /dev/null +++ b/gptables/examples/survey_data.py @@ -0,0 +1,119 @@ +""" +Labour market overview, UK: December 2020 - Real Survey Data Example +-------------------------------------------------------------------- +This example demonstrates how to replicate the Labour Market overview accessible +example found at https://analysisfunction.civilservice.gov.uk/policy-store/further-resources-for-releasing-statistics-in-spreadsheets/ +""" + +import gptables as gpt +import pandas as pd +import numpy as np +from pathlib import Path + +## Read data and arrange +parent_dir = Path(__file__).parent + +labour_market_data = pd.read_csv(parent_dir / "survey_data.csv") +labour_market_data.dropna(axis=0, how="all", inplace=True) # Remove empty rows in the data +labour_market_data.dropna(axis=1, how="all", inplace=True) # Remove columns rows in the data +col_names = ["Time period and dataset code row", + "Number of people", + "Economically active", + "Employment level", + "Unemployment level", + "Economically inactive", + "Economically active rate", + "Employment rate", + "Unemployment rate", + "Economically inactive rate"] +labour_market_data.columns = col_names + + +## Define table elements +table_name = "Labour_market_overview_accessibility_example_Nov21" +title = "Number and percentage of population aged 16 and over in each labour market activity group, UK, seasonally adjusted" +subtitles = [ + "This worksheet contains one table. Some cells refer to notes which can be found on the notes worksheet." + ] +units = {1:"thousands", 2:"thousands", 3:"thousands", 4:"thousands", + 5:"thousands", 6:"%", 7:"%", 8:"%", 9:"%"} +table_notes = {2:"$$note 1$$", 3:"$$note 2$$", 4:"$$note 2$$",5: "$$note 3$$", + 7:"$$note 4$$", 8:"$$note 4$$", 9:"$$note 4$$"} +scope = "Labour Market" +source = "Source: Office for National Statistics" +index = {2: 0} # Column 0 is a level 2 index +additional_formatting = [{ + "row": { + "rows": [1], + "format": {"bold": True, "font_size": 14}, + } + }] + + +# or use kwargs to pass these to the appropriate parameters +kwargs = { + "table_name": table_name, + "title": title, + "subtitles": subtitles, + "units": units, + "table_notes": table_notes, + "scope": scope, + "source": source, + "index_columns": index, + "additional_formatting": additional_formatting, + } + + +## Define our GPTable +survey_table = gpt.GPTable(table=labour_market_data, **kwargs) + +sheets = {"sheet 1a": survey_table} + +cover = gpt.Cover( + cover_label="Cover", + title="Labour market overview data tables, UK, December 2020 (accessibility example)", + intro=["This spreadsheet contains a selection of the data tables published alongside the Office for National Statistics' Labour market overview for December 2020. We have edited these data tables and the accompanying cover sheet, table of contents and notes worksheet to meet the legal accessibility regulations. It is intended to be an example of an accessible spreadsheet. The data tables and accompanying information have not been quality assured. Please see the original statistical release if you are looking for accurate data.", + "[Labour market overview, UK: December 2020](https://www.ons.gov.uk/employmentandlabourmarket/peopleinwork/employmentandemployeetypes/bulletins/uklabourmarket/december2020)"], + about=[[{"bold": True, "font_size": 14}, "Publication dates"], + "This data tables in this spreadsheet were originally published at 7:00am 15 December 2020", + "The next publication was published at 7:00am 26 January 2021.", + [{"bold": True, "font_size": 14}, "Note on weighting methodology"], + "Due to the coronavirus (COVID19) pandemic, all face to face interviewing for the Labour Force Survey was suspended and replaced with telephone interviewing. This change in mode for first interviews has changed the non-response bias of the survey, affecting interviews from March 2020 onwards. All data included in this spreadsheet have now been updated and are based on latest weighting methodology.", + "More information about the impact of COVID19 on the Labour Force Survey", + "Dataset identifier codes", + "The four-character identification codes appearing in the tables are the ONS' references for the data series.", + [{"bold": True, "font_size": 14}, "Comparing quarterly changes"], + "When comparing quarterly changes ONS recommends comparing with the previous non-overlapping three-month average time period, for example, compare Apr to Jun with Jan to Mar, not with Mar to May.", + [{"bold": True, "font_size": 14}, "Units, notes and no data"], + "Some cells in the tables refer to notes which can be found in the notes worksheet. Note markers are presented in square brackets, for example: [note 1].", + "Some cells have no data, when this is the case the words 'no data' are presented in square brackets, for example: '[no data]'. An explanation of why there is no data is given in the notes worksheet, see the column headings for which notes you should refer to.", + "Some column headings give units, when this is the case the units are presented in round brackets to differentiate them from note markers.", + [{"bold": True, "font_size": 14}, "Historic publication dates for labour market statistics", " "], + "The monthly labour market statistics release was first published in April 1998. Prior to April 1998 there was no integrated monthly release and the Labour Force Survey estimates were published separately, on different dates, from other labour market statistics. From April 2018 the usual publication day for the release was changed from Wednesday to Tuesday.", + [{"bold": True, "font_size": 14}, "More labour market data"], + "Other labour market datasets are available on the ONS website.", + "Labour market statistics time series dataset on the ONS website." + ], + contact=["Tel: 01633455400", "Email: [labour.market@ons.gov.uk](mailto:labour.market@ons.gov.uk)"], +) + +## Notesheet +notes_table = pd.read_csv(parent_dir / "survey_data_notes.csv") +notes_table.dropna(axis=0, how="all", inplace=True) # Remove empty rows in the data +notes_table.dropna(axis=1, how="all", inplace=True) # Remove columns rows in the data +notes_table.columns = ['Note reference', 'Note text'] + +## Use write_workbook to win! +if __name__ == "__main__": + output_path = parent_dir / "python_survey_data_gptable.xlsx" + gpt.write_workbook( + filename=output_path, + sheets=sheets, + cover=cover, + notes_table=notes_table, + contentsheet_options={"additional_elements": ["subtitles", "scope"]}, + auto_width=True, + gridlines="show_all", + cover_gridlines=True + ) + print("Output written at: ", output_path) \ No newline at end of file diff --git a/gptables/examples/survey_data_notes.csv b/gptables/examples/survey_data_notes.csv new file mode 100644 index 0000000..f7020fe --- /dev/null +++ b/gptables/examples/survey_data_notes.csv @@ -0,0 +1,21 @@ +Note number ,Note text +note 1,The economically active population is defined as those in employment plus those who are unemployed. +note 2,"We publish two levels of employment and unemployment, one for those aged 16 and over and one for those aged 16 to 64. The headline levels are for those aged 16 and over. They measure all people in work or actively seeking and able to work. " +note 3,"We publish two levels of economic inactivity, one for those aged 16 and over and one for those aged 16 to 64. The headline level is for those aged 16 to 64. The inactivity level for those aged 16 and over is less meaningful as it includes elderly people who have retired from the labour force. " +note 4,"The headline employment rate is the number of people aged 16 to 64 in employment divided by the population aged 16 to 64. + +The headline unemployment rate is the number of unemployed people (aged 16 and over) divided by the economically active population (aged 16 and over). + +The headline inactivity rate is the number of economically inactive people aged 16 to 64 divided by the population aged 16 to 64. + +The employment and inactivity rates for those aged 16 and over are affected by the inclusion of the retired population in the denominators and are therefore less meaningful than the rates for those aged from 16 to 64. + +However, for the unemployment rate for those aged 16 and over, no such effect occurs as the denominator for the unemployment rate is the economically active population which only includes people in work or actively seeking and able to work. " +note 5,The total series does not equal the sum of the 'UK' and 'Non UK' series as it includes people who do not state their country of birth or nationality. +note 6,A more detailed country breakdown for employment is available at Dataset EMP06. +note 7,EU27 refers to the 27 member states of the European Union. +note 8,"This series consists of those people whose main reason for being economically inactive was because they were students. It does not include all students as some students will be included in the employment and unemployment estimates. +" +note 9,"As the estimates are not seasonally adjusted, it is best practice to only compare the same quarter for different years e.g. compare Jan to Mar 2018 with Jan to Mar 2019 but do not compare Jul to Sep 2018 with Jan to Mar 2019." +note 10,Data for workers is only available from January 1986. +note 11,Due to rounding the working days lost for the public and private sector may not add up to the working days lost.