BazerData.jl

Data manipulation utilities for Julia
Log | Files | Refs | README | LICENSE

BazerData.jl (1482B)


      1 module BazerData
      2 
      3 # --------------------------------------------------------------------------------------------------
      4 import ColorSchemes: get, colorschemes
      5 import Crayons: @crayon_str
      6 import Dates: Date
      7 import DataFrames: AbstractDataFrame, ByRow, DataFrame, groupby, combine, nrow,  Not,  nonunique, proprow, 
      8     rename, rename!, select, select!, transform, transform!, unstack
      9 import Dates: format, now, DatePeriod, Dates, Dates.AbstractTime, ISODateTimeFormat
     10 import Interpolations: Linear, Constant, Previous, Next, BSpline, interpolate
     11 import Missings: disallowmissing
     12 import PrettyTables: Crayon, ft_printf, get, Highlighter, pretty_table
     13 import Random: seed!
     14 import StatsBase: quantile, UnitWeights, Weights
     15 # --------------------------------------------------------------------------------------------------
     16 
     17 
     18 # --------------------------------------------------------------------------------------------------
     19 # Import functions
     20 include("PanelData.jl")
     21 include("TimeShift.jl")
     22 include("StataUtils.jl")
     23 include("Winsorize.jl")
     24 # --------------------------------------------------------------------------------------------------
     25 
     26 
     27 # --------------------------------------------------------------------------------------------------
     28 # List of exported functions
     29 export panel_fill, panel_fill!
     30 export tlead, tlag, tshift
     31 export tabulate 
     32 export xtile
     33 export winsorize
     34 # --------------------------------------------------------------------------------------------------
     35 
     36 end