[r-cran-aer] 02/03: Cleanup output

Andreas Tille tille at debian.org
Sun Nov 12 13:37:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-cran-aer.

commit d4651476fccec3b1f914140493790494e479ef1d
Author: Andreas Tille <tille at debian.org>
Date:   Sun Nov 12 14:23:32 2017 +0100

    Cleanup output
---
 debian/README.source        | 61 +++++----------------------------------------
 debian/create_README.source |  4 +--
 2 files changed, 8 insertions(+), 57 deletions(-)

diff --git a/debian/README.source b/debian/README.source
index d0fe5b0..c9d69db 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -12,6 +12,7 @@ Documented: man/ArgentinaCPI.Rd
 
 Files: data/BankWages.rda
 Documented: man/BankWages.Rd
+  Wages of employees of a US bank.
 
 Files: data/BenderlyZwick.rda
 Documented: man/BenderlyZwick.Rd
@@ -23,25 +24,9 @@ Documented: man/BondYield.Rd
 
 Files: data/CASchools.rda
 Documented: man/CASchools.Rd
+  The dataset contains data on test performance, school 
   characteristics and student demographic backgrounds for school districts in California.} 
-  \usage{data("CASchools")}
-  \format{
   A data frame containing 420 observations on 14 variables.
-  \describe{
-  \item{district}{character. District code.}
-  \item{school}{character. School name.}
-  \item{county}{factor indicating county.}
-  \item{grades}{factor indicating grade span of district.}
-  \item{students}{Total enrollment.}
-  \item{teachers}{Number of teachers.}
-  \item{calworks}{Percent qualifying for CalWorks (income assistance).}
-  \item{lunch}{Percent qualifying for reduced-price lunch.}
-  \item{computer}{Number of computers.}   
-  \item{expenditure}{Expenditure per student.}
-  \item{income}{District average income (in USD 1,000).}
-  \item{english}{Percent of English learners.}
-  \item{read}{Average reading score.}
-  \item{math}{Average math score.}
 
 Files: data/CPS1985.rda
 Documented: man/CPS1985.Rd
@@ -123,14 +108,7 @@ Documented: man/EquationCitations.Rd
 Files: data/Equipment.rda
 Documented: man/Equipment.Rd
   Statewide data on transportation equipment manufacturing for 25 US states.}
-  \usage{data("Equipment")}
-  \format{
   A data frame containing 25 observations on 4 variables.
- \describe{
-    \item{valueadded}{Aggregate output, in millions of 1957 dollars.}
-    \item{capital}{Capital input, in millions of 1957 dollars.}
-    \item{labor}{Aggregate labor input, in millions of man hours.}
-    \item{firms}{Number of firms.}
     }
 
 Files: data/EuroEnergy.rda
@@ -174,22 +152,10 @@ Documented: man/GoldSilver.Rd
 
 Files: data/GrowthDJ.rda
 Documented: man/GrowthDJ.Rd
-  \usage{data("GrowthDJ")}
-  \format{
+  Growth regression data as provided by Durlauf & Johnson (1995).}
   A data frame containing 121 observations on 10 variables.
-  \describe{
- \item{oil}{factor. Is the country an oil-producing country?}
- \item{inter}{factor. Does the country have better quality data?}
- \item{oecd}{factor. Is the country a member of the OECD?}
- \item{gdp60}{Per capita GDP in 1960.}
- \item{gdp85}{Per capita GDP in 1985.}
- \item{gdpgrowth}{Average growth rate of per capita GDP from 1960 to 1985 (in percent).}
- \item{popgrowth}{Average growth rate of working-age population 1960 to 1985 (in percent).}
- \item{invest}{Average ratio of investment (including Government Investment) to GDP 
    from 1960 to 1985 (in percent).}
- \item{school}{Average fraction of working-age population enrolled in secondary school
    from 1960 to 1985 (in percent).}   
- \item{literacy60}{Fraction of the population over 15 years old that is able to read 
    and write in 1960 (in percent).}  
 
 Files: data/GrowthSW.rda
@@ -208,24 +174,8 @@ Documented: man/Guns.Rd
 
 Files: data/HMDA.rda
 Documented: man/HMDA.Rd
-  \usage{data("HMDA")}
-  \format{
+  Cross-section data on the Home Mortgage Disclosure Act (HMDA).}
   A data frame containing 2,380 observations on 14 variables.
-  \describe{
-  \item{deny}{Factor. Was the mortgage denied?}
-  \item{pirat}{Payments to income ratio.}    
-  \item{hirat}{Housing expense to income ratio.}
-  \item{lvrat}{Loan to value ratio.}
-  \item{chist}{Factor. Credit history: consumer payments.}      
-  \item{mhist}{Factor. Credit history: mortgage payments.}          
-  \item{phist}{Factor. Public bad credit record?}    
-  \item{unemp}{1989 Massachusetts unemployment rate in applicant's industry.}    
-  \item{selfemp}{Factor. Is the individual self-employed?}  
-  \item{insurance}{Factor. Was the individual denied mortgage insurance?}  
-  \item{condomin}{Factor. Is the unit a condominium?}    
-  \item{afam}{Factor. Is the individual African-American?}  
-  \item{single}{Factor. Is the individual single?}    
-  \item{hschool}{Factor. Does the individual have a high-school diploma?}    
 
 Files: data/HealthInsurance.rda
 Documented: man/HealthInsurance.Rd
@@ -249,6 +199,7 @@ Documented: man/Longley.Rd
 
 Files: data/MASchools.rda
 Documented: man/MASchools.Rd
+  The dataset contains data on test performance, school 
   characteristics and student demographic backgrounds for school districts 
   in Massachusetts.
 
@@ -525,4 +476,4 @@ Documented: man/Fertilit*.Rd
   Online complements to Stock, J.H. and Watson, M.W. (2007):
   "Introduction to Econometrics", 2nd ed. Boston: Addison Wesley.
 
- -- Andreas Tille <tille at debian.org>  Sun, 12 Nov 2017 14:11:01 +0100
+ -- Andreas Tille <tille at debian.org>  Sun, 12 Nov 2017 14:21:44 +0100
diff --git a/debian/create_README.source b/debian/create_README.source
index a05d956..f993ab9 100755
--- a/debian/create_README.source
+++ b/debian/create_README.source
@@ -13,8 +13,8 @@ for rda in ../data/*.rda ; do
   else
      echo "Files: data/$(basename $rda)"
      echo "Documented: man/$(basename $rda .rda).Rd"
-     sed -e '0,/^\\title{/d' -e '/^}/,$d' -e '/^\\description{/d' -e 's/^\([^ ]\)/  \1/' ../man/$(basename $rda .rda).Rd | \
-         perl -p -e 's/\cM//g' | grep -v '^ *$'
+     sed -e '0,/^\\title{/d' -e '/^}/,$d' -e 's/^\\description{//' -e 's/^\([^ ]\)/  \1/' ../man/$(basename $rda .rda).Rd | \
+         perl -p -e 's/\cM//g' | grep -v '^ *$' | sed '/^ \+\\/d'
      echo ""
   fi
 done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-aer.git



More information about the debian-science-commits mailing list