Man pages for JosepER/lissyrtools
Tools for LISSY Jobs

add_leading_0sAdd leading 0s
add_unique_idsAdd unique ID variables when binding LIS or LWS files.
all.is.numericCheck if all elements in a vector are numeric
all.values.equalAll values are equal \lifecycleexperimental
bind_lissy_filesBind multiple LIS or LWS datasets
change_file_name_formatChange the format of a file name
check_file_lists_contain_same_datasetsChecks if two lists have the same datasets
checks_compute_functionsPerform checks for 'compute' functions.
check_variable_levelChecks if the variable is 'household' or 'person' level.
compute_atkinsonCompute Atkinson index.
compute_giniCompute gini index.
compute_meanCompute standard indicators.
compute_percentilesCompute percentiles.
compute_poverty_rateCompute poverty rate.
database_character_to_nameConverts 'i', 'w', 'e' into 'LIS', 'LWS' 'ERFLIS'
datasetsLIS and LWS datasets
decide_plot_typeDecide plot type based on input data frame
define_optionDefine an option
deflatorsCPI and PPP deflators.
determine_file_levelDetermine the level of the file
determine_weightDetermine the name of the weight variable
extend_breaks_min_and_maxExtend the minimum and maximum of a vector used for breaks
extract_information_from_file_nameExtract information from file name
four_digit_yearCompute four digit year from two digit one.
get_databaseGet the database from a list of files
get_directoryGet directory from parameters file
get_file_lispppRetreive the 'lisppp' deflator for a given file and variable.
get_index_hh_headsGet the index of hh-heads
get_lissy_attributesGet the lissy attributes
get_lws_file_income_reference_yearRetrieve the reference year for LWS files
has_lissy_attributesA list with lissy attributes
implement_adjust_by_lispppApplies the deflator adjustment to an aggregate
implement_equivaliseApply equivalise by number of household members
implement_equivalise_oecdApply equivalise with the OECD scale
implement_false_zeros_to_naApply the recoding of zeros into missing values if all values...
implement_filter_ageApply 'transform_filter_age()' to a single file
implement_negative_values_to_zeroApply recoding negative values to zero
implement_restrict_ageApply 'transform_restrict_age()' to a single file
implement_restrict_to_household_headsApply 'transform_restrict_to_household_heads()' to a single...
implement_top_code_with_iqrApply top or bottom coding with log IQR to a single file
implement_top_code_with_iqr_pfileApply top and bottom coding with log IQR to a level-defined...
implement_zeros_to_naApply recoding of zeros into missing values
import_lisppp_dataImport lisppp dataset
intervals_with_single_valueInterval has single value
is.all.na.or.zeroTest if all objects are NAs or 0
is.all.same.valueTest if all elements of a vector have the same value
is_change_possibleIs possible to produce the desired format change
is.household.datasetChecks if the dataset is at household level
is_lissy_machineIs a LISSY machine
italy_14_lis_hSample Household-Level LIS Dataset (1,000 Rows)
italy_14_lis_pSample Individual-Level LIS Dataset (1,000 Rows)
italy_14_lws_hSample Household-Level LWS Dataset (1,000 Rows)
italy_14_lws_pSample Individual-Level LWS Dataset (1,000 Rows)
lissy_mapWrap over 'purrr::imap()' for lissy files
lissyrtoolslissyrtools: Functions that can be used within LISSY
lissyuseLoad data easily and efficiently with lissyuse
merge_dataset_levelsMerge household and person-level files
merge_lis_dataset_levelsMerges a hfile with its pfile
mexico_18_lis_hSample Household-Level LIS Dataset (1,000 Rows)
mexico_18_lis_pSample Individual-Level LIS Dataset (1,000 Rows)
missing_values_in_variable_warningMissing values in variable warning
n_numbers_smallerNumber of elements smaller than input
paste_lissy_attributesPaste lissy attributes
pipePipe operator
plot_barPlot an indicator using a bar plot.
plot_indicatorPlot an Indicator.
plot_linePlot an indicator using a line plot.
print_all_lissy_filesPrint all available files
print_atkinsonPrint the Atkinson Index
print_giniPrint the Gini Coefficient
print_indicatorPrint an indicator
print_percentilesPrint percentiles.
print_ratioPrint the Ratio Index
read_file_name_formatRead the format of a file name
read_format_namesRead the format of files argument
read_LISRead LIS
read_lissy_filesRead files in LISSY
read_lissy_files_locallyRead files locally
read_rename_filesRename read files
retrieve_database_from_directoryGet the database from a directory string
retrieve_names_key_variablesRetrieve names of key variables
return_desired_formatReturn a file name with the requested format
set_lissy_attributesSet lissy attributes
show_countries_lisPrint all the country code in LIS
show_countries_lwsPrint all the country code in LWS
show_country_years_lisPrint all the existing years in LIS for a given country.
show_country_years_lwsPrint all the existing years in LWS for a given country.
sort_lissy_listSort a list of lissy files
split_consecutive_valuesSplit vector into consecutive values
testDateTimeTest if a value is a date-time object
transform_adjust_by_lispppAdjust aggregates by LIS PPPs
transform_equivaliseEquivalise by number of household members.
transform_equivalise_oecdEquivalise with the OECD scale
transform_false_zeros_to_naRecode zeros into missing values if all values are zero
transform_filter_ageFilter a sample by age
transform_negative_values_to_zeroRecode negative values to zero
transform_restrict_ageFilter a variable by age
transform_restrict_to_household_headsFilter a variable for household heads
transform_top_code_with_iqrApply top or bottom coding with log IQR
transform_weight_by_hh_sizeMultiply by household size
transform_zeros_to_naRecodes zeros into missing values
united_states_16_lis_hSample Household-Level LIS Dataset (1,000 Rows)
united_states_16_lis_pSample Individual-Level LIS Dataset (1,000 Rows)
united_states_16_lws_hSample Household-Level LWS Dataset (1,000 Rows)
united_states_16_lws_pSample Individual-Level LWS Dataset (1,000 Rows)
wtd.quantileWeighted statistical Estimates
JosepER/lissyrtools documentation built on Jan. 26, 2025, 10:01 p.m.