Package | Description |
---|---|
eu.europa.ec.eurostat.java4eurostat.analysis | |
eu.europa.ec.eurostat.java4eurostat.base | |
eu.europa.ec.eurostat.java4eurostat.io |
Modifier and Type | Method and Description |
---|---|
static StatsHypercube |
Operations.compute(StatsHypercube hc1,
StatsHypercube hc2,
BinaryOperator<Double> bop)
Compute a binary operation.
|
static StatsHypercube |
Operations.compute(StatsHypercube hc,
UnaryOperator<Double> uop)
Compute a unary operation on hypercube values.
|
Modifier and Type | Method and Description |
---|---|
static HashMap<String,Integer> |
Validation.checkDimensionValuesValidity(StatsHypercube hc,
String dimLabel,
Collection<String> expectedDimValues,
boolean print)
Check dimension values are within a list of valid values.
|
static HashMap<String,Integer> |
Validation.checkUnicity(StatsHypercube hc)
Check that there is a unique value for each position in the hypercube.
|
static StatsHypercube |
Operations.compute(StatsHypercube hc1,
StatsHypercube hc2,
BinaryOperator<Double> bop)
Compute a binary operation.
|
static StatsHypercube |
Operations.compute(StatsHypercube hc,
UnaryOperator<Double> uop)
Compute a unary operation on hypercube values.
|
static Collection<Stat> |
Operations.computeAggregation(StatsHypercube hc,
Operations.Aggregator agg,
String dimLabel,
String aggDimValue)
Compute an aggregated value of all values along a dimension.
|
static Collection<Stat> |
Operations.computeMaxDim(StatsHypercube hc,
String dimLabel,
String maxDimValue)
Compute the maximum of all values along a dimension.
|
static Collection<Stat> |
Operations.computeMeanDim(StatsHypercube hc,
String dimLabel,
String meanDimValue)
Compute the mean of all values along a dimension.
|
static Collection<Stat> |
Operations.computeMedianDim(StatsHypercube hc,
String dimLabel,
String medianDimValue)
Compute the median of all values along a dimension.
|
static Collection<Stat> |
Operations.computeMinDim(StatsHypercube hc,
String dimLabel,
String minDimValue)
Compute the minimum of all values along a dimension.
|
static Collection<Stat> |
Operations.computePercentileDim(StatsHypercube hc,
int percentile,
String dimLabel,
String percentileDimValue)
Compute a percentile of all values along a dimension.
|
static Collection<Stat> |
Operations.computeQuartile1Dim(StatsHypercube hc,
String dimLabel,
String q1DimValue)
Compute the first quantile of all values along a dimension.
|
static Collection<Stat> |
Operations.computeQuartile2Dim(StatsHypercube hc,
String dimLabel,
String q2DimValue)
Compute the second quantile of all values along a dimension.
|
static Collection<Stat> |
Operations.computeRMSDim(StatsHypercube hc,
String dimLabel,
String rmsDimValue)
Compute the RMS of all values along a dimension.
|
static Collection<Stat> |
Operations.computeStdDim(StatsHypercube hc,
String dimLabel,
String stdDimValue)
Compute the standard deviation of all values along a dimension.
|
static Collection<Stat> |
Operations.computeSumDim(StatsHypercube hc,
String dimLabel,
String sumDimValue)
Compute the sum of all values along a dimension.
|
static double |
Compacity.getCompacityIndicator(StatsHypercube hc,
boolean ignoreNaNValues,
boolean ignoreNullValues)
Give an overview of how full/sparse/empty is the hypercube.
|
static double |
Compacity.getCompacityIndicator(StatsHypercube hc,
String dimLabel,
String dimValue,
boolean ignoreNaNValues,
boolean ignoreNullValues)
Restrict compacity analysis to a dimension value.
|
static HashMap<String,Double> |
Compacity.getCompacityIndicators(StatsHypercube hc,
String dimLabel,
boolean ignoreNaNValues,
boolean ignoreNullValues)
Analyse compacity along a dimension.
|
static ArrayList<Compacity.DimensionValueCompacity> |
Compacity.getDimensionValuesByCompacity(StatsHypercube hc,
boolean ignoreNaNValues,
boolean ignoreNullValues)
Analyse the compacity accross all dimensions.
|
static int |
Compacity.getMaxSize(StatsHypercube hc)
Compute the number of possible positions in the hypercube.
|
Modifier and Type | Method and Description |
---|---|
StatsHypercube |
StatsHypercube.abs()
Apply absolute value.
|
StatsHypercube |
StatsHypercube.apply(BinaryOperator<Double> op,
StatsHypercube hc)
Apply an operation to the values, using values of another hypercube.
|
StatsHypercube |
StatsHypercube.apply(UnaryOperator<Double> op)
Apply an operation on the values.
|
StatsHypercube |
StatsHypercube.delete(String dimLabel)
Delete a dimension.
|
StatsHypercube |
StatsHypercube.delete(String dimLabel,
int size)
Delete the stats having a label value with a given number of caracters.
|
StatsHypercube |
StatsHypercube.delete(String dimLabel,
String dimValue)
Delete all stats having a given value for a dimension
|
StatsHypercube |
StatsHypercube.diff(double valueToDiff)
Remove a quantity to the values.
|
StatsHypercube |
StatsHypercube.diff(StatsHypercube hc)
Remove the values of another hypercube.
|
StatsHypercube |
StatsHypercube.div(double valueToDiv)
Divide all values by a quantity.
|
StatsHypercube |
StatsHypercube.div(StatsHypercube hc)
Divide by the values of another hypercube.
|
StatsHypercube |
StatsIndex.getStatsHypercube(Collection<String> dims,
String... dimLabels)
Return a subindex as an hypercube object.
|
StatsHypercube |
StatsHypercube.inv()
Invert the values.
|
StatsHypercube |
StatsHypercube.mult(double factor)
Multiply the values by a factor.
|
StatsHypercube |
StatsHypercube.mult(StatsHypercube hc)
Multiply by the values of another hypercube.
|
StatsHypercube |
StatsHypercube.opp()
Change the sign of the values.
|
StatsHypercube |
StatsHypercube.pow(double exp)
Apply a power to the values.
|
StatsHypercube |
StatsHypercube.select(Selection.Criteria sel)
Extract an hypercube based on a selection criteria
|
StatsHypercube |
StatsHypercube.selectDimValueDifferentFrom(String... dimLabelValues)
Extract an hypercube of stats having dimLabel!=dimValue
Ex: gender!=male AND country!=HU, etc.
|
StatsHypercube |
StatsHypercube.selectDimValueEqualTo(String... dimLabelValues)
Extract an hypercube of stats having dimLabel=dimValue
Ex: gender=male AND country=HU, etc.
|
StatsHypercube |
StatsHypercube.selectDimValueGreaterOrEqualThan(String dimLabel,
double value)
Extract an hypercube of stats having dimLabel >= value
Ex: year >= 2015
|
StatsHypercube |
StatsHypercube.selectDimValueGreaterThan(String dimLabel,
double value)
Extract an hypercube of stats having dimLabel > value
Ex: year >= 2015
|
StatsHypercube |
StatsHypercube.selectDimValueLowerOrEqualThan(String dimLabel,
double value)
Extract an hypercube of stats having dimLabel <= value
Ex: year <= 2015
|
StatsHypercube |
StatsHypercube.selectDimValueLowerThan(String dimLabel,
double value)
Extract an hypercube of stats having dimLabel < value
Ex: year < 2015
|
StatsHypercube |
StatsHypercube.selectValueDifferentFrom(double value)
Extract an hypercube of stats different from specified value.
|
StatsHypercube |
StatsHypercube.selectValueEqualTo(double value)
Extract an hypercube of stats having specified value.
|
StatsHypercube |
StatsHypercube.selectValueGreaterOrEqualThan(double value)
Extract an hypercube of stats having values greater or equal than a specified value.
|
StatsHypercube |
StatsHypercube.selectValueGreaterThan(double value)
Extract an hypercube of stats having values greater than a specified value.
|
StatsHypercube |
StatsHypercube.selectValueLowerOrEqualThan(double value)
Extract an hypercube of stats having values lower or equal than a specified value.
|
StatsHypercube |
StatsHypercube.selectValueLowerThan(double value)
Extract an hypercube of stats having values lower than a specified value.
|
StatsHypercube |
StatsHypercube.shrinkDimensions()
Remove dimensions with no or a single value.
|
StatsHypercube |
StatsHypercube.sqrt()
Apply root square of the values
|
StatsHypercube |
StatsHypercube.sum(double valueToSum)
Add a qualtity to the values.
|
StatsHypercube |
StatsHypercube.sum(StatsHypercube hc)
Add the values of another hypercube.
|
Modifier and Type | Method and Description |
---|---|
StatsHypercube |
StatsHypercube.apply(BinaryOperator<Double> op,
StatsHypercube hc)
Apply an operation to the values, using values of another hypercube.
|
StatsHypercube |
StatsHypercube.diff(StatsHypercube hc)
Remove the values of another hypercube.
|
StatsHypercube |
StatsHypercube.div(StatsHypercube hc)
Divide by the values of another hypercube.
|
StatsHypercube |
StatsHypercube.mult(StatsHypercube hc)
Multiply by the values of another hypercube.
|
StatsHypercube |
StatsHypercube.sum(StatsHypercube hc)
Add the values of another hypercube.
|
Constructor and Description |
---|
StatsIndex(StatsHypercube hc,
String... dimLabels)
Build an index depending on the ordered list of dimension labels.
|
Modifier and Type | Method and Description |
---|---|
static StatsHypercube |
EurobaseIO.getData(String eurobaseDatabaseCode) |
static StatsHypercube |
EurobaseIO.getData(String eurobaseDatabaseCode,
Selection.Criteria ssc,
String... paramData) |
static StatsHypercube |
EurobaseIO.getData(String eurobaseDatabaseCode,
String... paramData) |
static StatsHypercube |
EurobaseIO.getDataBulk(String eurobaseDatabaseCode) |
static StatsHypercube |
EurobaseIO.getDataBulk(String eurobaseDatabaseCode,
Selection.Criteria ssc) |
static StatsHypercube |
EurobaseIO.getDataFromURL(String url) |
static StatsHypercube |
EurobaseIO.getDataFromURL(String url,
Selection.Criteria ssc) |
static StatsHypercube |
EurostatTSV.load(String inputFilePath) |
static StatsHypercube |
JSONStat.load(String data) |
static StatsHypercube |
JSONStat.load(String data,
boolean statusAsEurostatFlags) |
static StatsHypercube |
JSONStat.load(String data,
boolean statusAsEurostatFlags,
Selection.Criteria ssc) |
static StatsHypercube |
EurostatTSV.load(String inputFilePath,
Selection.Criteria ssc) |
static StatsHypercube |
CSV.load(String inputFilePath,
String valueLabel) |
static StatsHypercube |
CSV.load(String inputFilePath,
String valueLabel,
Selection.Criteria ssc) |
static StatsHypercube |
CSV.load(String inputFilePath,
String valueLabel,
String patternString) |
static StatsHypercube |
CSV.load(String inputFilePath,
String valueLabel,
String patternString,
Selection.Criteria ssc)
Load a CSV file.
|
static StatsHypercube |
CSV.loadMultiValues(String csvFilePath,
String newDimLabel,
String... valueColumns)
Load a CSV file of statistical data for which several values are specified per raw.
|
Modifier and Type | Method and Description |
---|---|
static void |
CSV.save(StatsHypercube hc,
String valueLabel,
String outFile) |
static void |
CSV.save(StatsHypercube hc,
String valueLabel,
String outFile,
String separator) |
static void |
CSV.save(StatsHypercube hc,
String valueLabel,
String outFile,
String separator,
Comparator<String> keysComparator)
Save a hypercube as a CSV file.
|
Copyright © 2020. All rights reserved.