An R6-based client to facilitate interaction with the Statistics
    Portugal (Instituto Nacional de Estatistica - INE) API
    (<https://www.ine.pt/xportal/xmain?xpid=INE&xpgid=ine_api&INST=322751522&xlang=en>).

Inequality, concentration, and poverty measures. Lorenz curves (empirical and theoretical).

Decomposition of income inequality by groups formed of individuals 
    possessing similar characteristics (e.g., sex, education, age) and their 
    income sources at the same time.
    Decomposition of the Theil index is based on Giammatteo, M. (2007) 
    <https://www.lisdatacenter.org/wps/liswps/466.pdf>.
    Decomposition of the squared coefficient of variation is based on
    Garcia-Penalosa, C., & Orgiazzi, E. (2013) <doi:10.1111/roiw.12054>.

Computes and decomposes Gini, Bonferroni and Zenga 2007 point and synthetic concentration indexes. Decompositions are intended: by sources, by subpopulations and by sources and subpopulations jointly. References, Zenga M. M.(2007) <doi:10.1400/209575> Zenga M. (2015) <doi:10.1400/246627> Zenga M., Valli I. (2017) <doi:10.26350/999999_000005> Zenga M., Valli I. (2018) <doi:10.26350/999999_000011>.

Tools for measuring income and wealth inequality. Computes the
    Gini coefficient with bootstrap or asymptotic confidence intervals
    following Davidson (2009) <doi:10.1016/j.jeconom.2008.09.011>, the
    extended S-Gini family, Theil T and L indices (generalised entropy
    family), the Atkinson index, the Kolm absolute inequality index, Palma
    ratio, Hoover index, percentile ratios, and Lorenz curves. Supports
    between-within group decomposition following Bourguignon (1979)
    <doi:10.2307/1914138>, income share tabulation, concentration indices
    for health inequality with Erreygers (2009) correction, Kakwani tax
    progressivity and Reynolds-Smolensky redistribution indices,
    Foster-Greer-Thorbecke poverty measures including the Sen index, growth
    incidence curves following Ravallion and Chen (2003)
    <doi:10.1016/S0165-1765(02)00205-7>, and Wolfson polarisation. All
    functions accept optional survey weights and work with data from any
    source.