Ecfun: Functions for Ecdat

Share:

Functions to update data sets in Ecdat and to create, manipulate, plot and analyze those and similar data sets.

Author
Spencer Graves <spencer.graves@effectivedefense.org>
Date of publication
2016-10-23 13:03:59
Maintainer
Spencer Graves <spencer.graves@effectivedefense.org>
License
GPL (>=2)
Version
0.1-8
URLs

View on R-Forge

Man pages

Arrows
Draw arrows between pairs of points.
as.Date1970
Date from a number of days since the start of 1970.
asNumericDF
Coerce to numeric dropping commas and info after a blank
BoxCox
Box-Cox power transformation and its inverse
camelParse
Split a character string where a capital letter follows a...
canbeNumeric
Can a variable reasonably be coerced to numeric?
checkNames
Check and return names
classIndex
Convert class to an integer 1-8 and vice versa
compareLengths
Compare the lengths of two objects
confint.var
Confidence interval for sample variance or standard deviation
countByYear
Allocate a total by year
countsByYear
Allocate totals by year
createMessage
Compose a message as a single substring from a character...
createX2matchY
Create X to match Y
Date3to1
Convert three YMD vectors to a Date
dateCols
Identify YMD names in a character vector
Dates3to1
Convert 3-column dates in data to class Date
financialCrisisFiles
Files containing financial crisis data
getElement2
Extract a named element from an object with a default
grepNonStandardCharacters
grep for nonstandard characters
Interp
Interpolate between numbers or numbers of characters
interpChar
Interpolate between numbers or numbers of characters
interpPairs
interpolate between pairs of vectors in a list
logVarCor
Log-diagonal reprentation of a variance matrix
match.data.frame
Identify the row of 'y' best matching each row of 'x'
matchName
Match surname and givenName in a table
matchQuote
Match isolated quotes across records
mergeUShouse.senate
Expand a dataset on some members of the US Congress to the...
mergeVote
Merge Roll Call Vote
missing0
Missing or length 0
nchar0
Zero characters or NULL
Newdata
Create a new data.frame for predict
parseCommas
Convert character string with Dollar signs and commas to...
parseDollars
Convert character string with Dollar signs and commas to...
parseName
Parse surname and given name
Ping
ping a Uniform resource locator (URL)
pmatch2
Value matching or partial matching
qqnorm2
Normal Probability Plot with Multiple Symbols
qqnorm2s
Normal Probability Plot with Multiple Lines and Multiple...
rasterImageAdj
rasterImage adjusting to zero distortion
readCookPVI
Read Cook Partisan Voting Index
readDates3to1
read.csv with Dates in 3 columns
readFinancialCrisisFiles
banking crisis data and function to read financial crisis...
readNIPA
Read a National Income and Product Accounts data table
read.testURLs
Read a file produced by testURLs
read.transpose
Read a data table in transpose form
readUShouse
Read the list of representatives in the United States House...
readUSsenate
Read the list of elected officials in the United States...
readUSstateAbbreviations
Read a list of abbreviations of states and territories of the...
recode2
bivariate recode
rgrep
Reverse grep
sign
Sign function with zero option
strsplit1
Split the first field
subNonStandardCharacters
sub nonstandard characters with replacement
subNonStandardNames
sub for nonstandard names
testURLs
Test URLs for intermittent download problems
trimImage
Trim zero rows or columns from an object of class 'Image'.
truncdist
Truncated distribution
UShouse.senate
Create a list of members of the US House and Senate
USsenateClass
Election Class given state and surname of a US Senator
whichAeqB
Index of a single match

Files in this package

Ecfun/DESCRIPTION
Ecfun/NAMESPACE
Ecfun/R
Ecfun/R/Arrows.R
Ecfun/R/BoxCox.R
Ecfun/R/Date3to1.R
Ecfun/R/Dates3to1.R
Ecfun/R/Interp.R
Ecfun/R/Newdata.R
Ecfun/R/UShouse.senate.R
Ecfun/R/USsenateClass.R
Ecfun/R/as.Date1970.R
Ecfun/R/asNumericDF.R
Ecfun/R/camelParse.R
Ecfun/R/canbeNumeric.R
Ecfun/R/checkNames.R
Ecfun/R/classIndex.R
Ecfun/R/compareLengths.R
Ecfun/R/confint.var.R
Ecfun/R/countByYear.R
Ecfun/R/countsByYear.R
Ecfun/R/createMessage.R
Ecfun/R/createX2matchY.R
Ecfun/R/dateCols.R
Ecfun/R/dtruncdist.R
Ecfun/R/financialCrisisFiles.R
Ecfun/R/getElement2.R
Ecfun/R/grepNonStandardCharacters.R
Ecfun/R/interpChar.R
Ecfun/R/interpPairs.R
Ecfun/R/interpPairs.list.R
Ecfun/R/logVarCor.R
Ecfun/R/match.data.frame.R
Ecfun/R/matchName.R
Ecfun/R/matchName1.R
Ecfun/R/matchQuote.R
Ecfun/R/mergeUShouse.senate.R
Ecfun/R/mergeVote.R
Ecfun/R/missing0.R
Ecfun/R/nchar0.R
Ecfun/R/parseCommas.R
Ecfun/R/parseDollars.R
Ecfun/R/parseName.R
Ecfun/R/ping.R
Ecfun/R/pmatch2.R
Ecfun/R/ptruncdist.R
Ecfun/R/qqnorm2.R
Ecfun/R/qqnorm2s.R
Ecfun/R/qtruncdist.R
Ecfun/R/raseterImageAdj.R
Ecfun/R/read.testURLs.R
Ecfun/R/read.transpose.R
Ecfun/R/readCookPVI.R
Ecfun/R/readDates3to1.R
Ecfun/R/readFinancialCrisisFiles.R
Ecfun/R/readNIPA.R
Ecfun/R/readUShouse.R
Ecfun/R/readUSsenate.R
Ecfun/R/readUSstateAbbreviations.R
Ecfun/R/recode2.R
Ecfun/R/rgrep.R
Ecfun/R/rtruncdist.R
Ecfun/R/sign.R
Ecfun/R/strsplit1.R
Ecfun/R/subNonStandardCharacters.R
Ecfun/R/subNonStandardNames.R
Ecfun/R/testURLs.R
Ecfun/R/trimImage.R
Ecfun/R/whichAeqB.R
Ecfun/man
Ecfun/man/Arrows.Rd
Ecfun/man/BoxCox.Rd
Ecfun/man/Date3to1.Rd
Ecfun/man/Dates3to1.Rd
Ecfun/man/Interp.Rd
Ecfun/man/Newdata.Rd
Ecfun/man/Ping.Rd
Ecfun/man/UShouse.senate.Rd
Ecfun/man/USsenateClass.Rd
Ecfun/man/as.Date1970.Rd
Ecfun/man/asNumericDF.Rd
Ecfun/man/camelParse.Rd
Ecfun/man/canbeNumeric.Rd
Ecfun/man/checkNames.Rd
Ecfun/man/classIndex.Rd
Ecfun/man/compareLengths.Rd
Ecfun/man/confint.var.Rd
Ecfun/man/countByYear.Rd
Ecfun/man/countsByYear.Rd
Ecfun/man/createMessage.Rd
Ecfun/man/createX2matchY.Rd
Ecfun/man/dateCols.Rd
Ecfun/man/financialCrisisFiles.Rd
Ecfun/man/getElement2.Rd
Ecfun/man/grepNonStandardCharacters.Rd
Ecfun/man/interpChar.Rd
Ecfun/man/interpPairs.Rd
Ecfun/man/logVarCor.Rd
Ecfun/man/match.data.frame.Rd
Ecfun/man/matchName.Rd
Ecfun/man/matchQuote.Rd
Ecfun/man/mergeUShouse.senate.Rd
Ecfun/man/mergeVote.Rd
Ecfun/man/missing0.Rd
Ecfun/man/nchar0.Rd
Ecfun/man/parseCommas.Rd
Ecfun/man/parseDollars.Rd
Ecfun/man/parseName.Rd
Ecfun/man/pmatch2.Rd
Ecfun/man/qqnorm2.Rd
Ecfun/man/qqnorm2s.Rd
Ecfun/man/rasterImageAdj.Rd
Ecfun/man/read.testURLs.Rd
Ecfun/man/read.transpose.Rd
Ecfun/man/readCookPVI.Rd
Ecfun/man/readDates3to1.Rd
Ecfun/man/readFinancialCrisisFiles.Rd
Ecfun/man/readNIPA.Rd
Ecfun/man/readUShouse.Rd
Ecfun/man/readUSsenate.Rd
Ecfun/man/readUSstateAbbreviations.Rd
Ecfun/man/recode2.Rd
Ecfun/man/rgrep.Rd
Ecfun/man/sign.Rd
Ecfun/man/strsplit1.Rd
Ecfun/man/subNonStandardCharacters.Rd
Ecfun/man/subNonStandardNames.Rd
Ecfun/man/testURLs.Rd
Ecfun/man/trimImage.Rd
Ecfun/man/truncdist.Rd
Ecfun/man/whichAeqB.Rd