accuracyScores | Compute accuracy scores. |
adaptTradeDataNames | Standardise TL or ES variable names. |
adaptTradeDataTypes | Standardise TL or ES variable names. |
add_area_names | A function to add columns with area names to a data frame... |
add_fcls_from_links | Add fcl codes to trade data from links datasets |
addFCLunits | Add FCL variable to trade data. |
addMirror | Add mirror data. |
applyadj | Apply adjustments to trade data |
area_name_fao | A function to provide names for FAO area list codes. |
check_versions | Check package versions requirements |
computeMedianUnitValue | Compute the median unit value of the transaction. |
comtradeunits | Units of measuremnt for Comtrade datasets |
convertComtradeM49ToFAO | Converts area codes, stored in UNSD Comtrade M49, into FAO... |
convertGeonom2FAO | Convertion of EuroStat Geonomenclature to FAO area codes |
convertHS2FCL | Converts dataset with tradeflows from HS to FCL |
convertMeasuredElementTrade | Converts measuredElementTrade for the output |
convertTLPartnerToFAO | Convert tariffline partner code to FAO code |
detectOutliers | Detect anomalous observations (outliers). |
doImputation | Impute missing values or outliers. |
extract_hs6fclmap | Create HS6->FCL mapping table. |
extract_rprt_elem | Extract an element from list stored in RDS archive in report... |
extract_rprt_year | Extracts year from report directory name |
faoAreaName | Assign area names to M49 or geonom codes. |
fao_country_code | Information of country code and names |
fcl_2_cpc2 | FAO Commodity List (FCL) to Central Product Classification... |
fclcodelist | Local replacement for table with fcl codes and descriptions... |
fclunits | Units of measurment for FCL codes |
filterHS6FAOinterest | Function to filter trade data by HS6 codes of FAO interest |
flowsToMirror | Check which flows for which countries need to be mirrored. |
generateFlagVars | Generate flag variables in trade data. |
geonom2fao | Eurostat Geonomenclature to FAO area codes mapping |
getAgriHSCodes | Returns subset of HS-codes of agriculture items used by ESS... |
getComputedDataSWS | Get computed dataset on SWS. |
getHsManyLengths | Get HS codes with many digits. |
getlistofadjs | Generate list of adjustments from a table extracted from MDB... |
getSaveMostRecentfolders | Get and save the most updated folders. |
hs6faointerest | HS codes of length 6 from HSagric_filter.xls what take part... |
hsfclmapSubset | Subset the HS to FCL map. |
hsInRange | Looks for corresponding FCL codes in country-specific mapping... |
is.SWSEnvir | Function to check is it SWS environment |
list_rprt_dirs | Provides list of directories with names matching reporting... |
livestockWeightsTable | Livestock weight table. |
m49 | Table of M49 area codes. Taken from... |
m49faomap | Comtrade M49 <-> FAO area list map. This table should be used... |
mapHS2FCL | Umbrella function to map HS codes to FCL codes |
mapHS6toFCL | Map HS to FCL based on HS codes of length 6 |
maxHSLength | Prepares for numerical comparison vector of hs codes from... |
mdbfaoareamap | Mapping between character codes of areas in folders' names... |
meltTradeData | Melt trade database |
mirrorNonReporters | Mirror non-reporting and incomplete countries. |
mirrorRules | Use mirror rules for balancing trade. |
movav | Moving average |
name_area | A function to provide names for codes from different area... |
preAggregateMultipleTLRows | Aggregate multiple rows in raw Tariff Line data. |
register_cpu_cores | Check for parallel support and register CPU cores |
removeInvalidReporters | Remove invalid reporters. |
removeNonNumeric | Remove non numeric reporter/partner/hs. |
reportdirectory | Create directory for writing a report and supplementary files |
reshapeTrade | Reshape trade data. |
rprt | Function to call reporting instructions |
rprt_fulltable | Adds full table to report |
rprt_glimpse0 | Drops dplyr::glimpse's invisible value |
rprt_hs2fcl_fulldata | Reporting on multiple matches during HS->FCL matching by... |
rprt_hs2fcl_multilinks | Reporting on multiple matches during HS->FCL matching by... |
rprt_hs2fcl_nolinks | Reporting on results of HS ranges matches by function... |
rprt_hs6fclmap | Reports on results of extraction of HS6->FCL map |
rprt_hs6fcl_results | Reports on results of HS6->FCL mapping process. |
rprt_hschanged | Reporting on HS code changes in trade data during HS->FCL... |
rprt_hsfclmap | Function to produce report on HS->FCL mapping table |
rprt_hslength | Reporting on reporter/flow/hs unique combinations during... |
rprt_map_hschanged | Reporting on modifications of HS codes in mapping table... |
rprt_rawtradedata | Report table on raw trade data |
rprt_report | Adds info to futile.logger report |
rprt_uniqhs | Reporting on reporter/flow/hs unique combinations during... |
rprt_writetable | Writes full table for report collection. Table is saved as... |
saveFileForPPR | Save file for pre-processing report. |
sel1FCL | Select one record from multiple matches during HS->FCL... |
setFlag2 | Set flags in trade data. |
setFlag3 | Set flags in trade data. |
set_sws_dev_settings | Set SWS environment in development mode |
specificCorrectionsHS | Specific corrections to HS data. |
sumFlags | Sum the flags indicator variables |
swapFlags | Change position of flags. |
tfvalid | Valid dataset from database to be compared with new procedure |
trailingDigits | Adds zeros to the end of hs column to make both columns of... |
trailingDigits2 | Other version of adding of trailing digits. We should check... |
ts_all_reports | General function to produce all time-series reports |
ts_content_check | Check if quantity and weight both exist. |
ts_corrections_not_applied | Function to produce the list of corrections not applied. |
ts_count_records | Count number of records across years. |
ts_flows_check | Check if value and quantity and weight exist. |
ts_hsfcl_nolinks | Extract all unmapped HS codes across years |
ts_hsfcl_nolinks_statistic | Extracts time series of not mapped HS codes number |
ts_missing_records | Report the number of records with missing quantity/weight. |
ts_non_reporters | Function to produce the list of non-reporting countries. |
ts_preproc | Extracts time series data from preprocessing reports |
ts_reporters | Function to produce the list of reporters cointained in the... |
ts_write_rprt | Writes table with time series report to specific directory as... |
unsdpartnersblocks | UNSD partner blocksreference list |
updateInfoTable | Update the table with information of module runs. |
useAdjustments | Use specific adjustment factors for trade data. |
useValidationCorrections | Use the corrections deriving from validation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.