Package: lares 5.2.9.9005

lares: Analytics & Machine Learning Sidekick

Auxiliary package for better/faster analytics, visualization, data mining, and machine learning tasks. With a wide variety of family functions, like Machine Learning, Data Wrangling, Marketing Mix Modeling (Robyn), Exploratory, API, and Scrapper, it helps the analyst or data scientist to get quick and robust results, without the need of repetitive coding or advanced R programming skills.

Authors:Bernardo Lares [aut, cre]

lares_5.2.9.9005.tar.gz
lares_5.2.9.9005.zip(r-4.5)lares_5.2.9.9005.zip(r-4.4)lares_5.2.9.9005.zip(r-4.3)
lares_5.2.9.9005.tgz(r-4.4-any)lares_5.2.9.9005.tgz(r-4.3-any)
lares_5.2.9.9005.tar.gz(r-4.5-noble)lares_5.2.9.9005.tar.gz(r-4.4-noble)
lares_5.2.9.9005.tgz(r-4.4-emscripten)lares_5.2.9.9005.tgz(r-4.3-emscripten)
lares.pdf |lares.html
lares/json (API)

# Install 'lares' in R:
install.packages('lares', repos = c('https://laresbernardo.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/laresbernardo/lares/issues

Datasets:
  • dfr - Results for AutoML Predictions
  • dft - Titanic Dataset

On CRAN:

analyticsapiautomationautomldata-sciencedescriptive-statisticsh2omachine-learningmarketingmmmpredictive-modelingpuzzlerlanguagerobynvisualization

9.97 score 232 stars 2 packages 180 scripts 3.2k downloads 2 mentions 254 exports 57 dependencies

Last updated 14 days agofrom:666295d16d. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 23 2024
R-4.5-winNOTEOct 23 2024
R-4.5-linuxNOTEOct 23 2024
R-4.4-winNOTEOct 23 2024
R-4.4-macNOTEOct 23 2024
R-4.3-winNOTEOct 23 2024
R-4.3-macNOTEOct 23 2024

Exports:%>%are_binaryare_constantare_idautolinebalance_databind_filesbring_apicache_clearcache_existscache_pipecache_readcache_writecateg_reducercheck_attrcheck_optschr2datechr2logicalchr2numci_lowerci_upperci_varcleanNamescleanTextclusterKmeansclusterOptimalKclusterVisualKconf_matcorrcorr_crosscorr_varcran_logscrosstabdaily_portfoliodaily_stocksdalex_localdalex_residualsdalex_variabledate_cutsdate_featsdb_downloaddb_uploaddf_strdist2ddistrerrorsetf_sectorexport_plotexport_resultsfb_accountsfb_adsfb_creativesfb_insightsfb_processfb_report_checkfb_rffb_tokenfile_namefile_typefiles_functionsfilesGDfont_existsforecast_arimaformatColouredformatHTMLformatNumfreqsfreqs_dffreqs_listfreqs_plotgain_liftgemini_askgemini_imageget_credentialsget_credsget_currencyget_mp3get_tweetsgg_colour_customsgg_fill_customsgg_text_customsgg_valsgluedgpt_askgpt_classifygpt_convertgpt_extractgpt_formatgpt_historygpt_promptergpt_tablegpt_taggpt_translategrepl_lettersgrepmgtrends_relatedgtrends_timeh2o_automlh2o_explainerh2o_predict_APIh2o_predict_binaryh2o_predict_modelh2o_predict_MOJOh2o_resultsh2o_selectmodelh2o_shaphaveInternetholidaysimage_metadataimportxlsximputeinstall_recommendedip_datais_ipis_urliter_seedsjson2vectorlares_logolares_pallasso_varsleftli_authli_profilelist_catslistfilesloglossBinarymaemail_sendmapemarkdown2dfmaze_gridsearchmaze_solvemissingnessmodel_metricsmodel_preprocessmove_filesmplot_confmplot_cutsmplot_cuts_errormplot_densitymplot_fullmplot_gainmplot_importancemplot_linealmplot_metricsmplot_responsemplot_rocmplot_splitsmplot_topcatsmsemsplitmyipngramsnoPlotnormalizenum_abbrnumericalonlyohe_commasohseoutlier_turkeyoutlier_zscoreoutlier_zscore_plotplot_catsplot_chordplot_dfplot_numsplot_paletteplot_surveyplot_timelineprophesizequantsqueryDBqueryGAquietread.filereadGSreduce_pcareduce_tsneremove_stopwordsremovenacolsremovenarowsreplaceallreplacefactorrightrmserobyn_crossmmmrobyn_hypsbuilderrobyn_modelselectorrobyn_performanceROCrsqrsqartistry_spherescale_x_abbrscale_x_commascale_x_dollarscale_x_formatNumscale_x_percentscale_y_abbrscale_y_commascale_y_dollarscale_y_formatNumscale_y_percentscrabble_dictionaryscrabble_pointsscrabble_scorescrabble_wordssentimentBreakdownshap_varslackSendsplot_changesplot_divssplot_etfsplot_growthsplot_roisplot_summarysplot_typesspread_liststatusbarstocks_filestocks_histstocks_objstocks_quotestocks_reportsudoku_solvertarget_settextCloudtextFeatstextTokenizertheme_larestictoctopics_raketree_vartrim_mp3try_requireupdateLaresv2tvector2textwarnifnotweighted_valuewhat_sizewinsorizewordle_checkwordle_dictionarywordle_simulationwriteGSx2yx2y_metricx2y_predsyear_monthyear_quarteryear_weekzerovar

Dependencies:askpassclicolorspacecpp11curldplyrfansifarvergenericsggplot2gluegtablehttrisobandjsonlitelabelinglatticelifecyclelubridatemagrittrMASSMatrixmgcvmimemunsellnlmeopensslopenxlsxpatchworkpillarpkgconfigplyrpROCpurrrR6RColorBrewerRcpprlangrpartrpart.plotrvestscalesselectrstringistringrsystibbletidyrtidyselecttimechangeutf8vctrsviridisLitewithrxml2yamlzip

Readme and manuals

Help Manual

Help pageTopics
New Line Feed for Long Strings (Wrapper)autoline
Balance Binary Data by Resampling: Under-Over Samplingbalance_data
Bind Files into Dataframebind_files
Get API (JSON) and Transform into data.framebring_api
Cache Save and Load (Write and Read)cache_clear cache_exists cache_pipe cache_read cache_write
Reduce categorical valuescateg_reducer
Validate inputs (attributions, options, ...)check_attr check_opts
Check character values for date/numeric/logical and change datatypechr2date chr2logical chr2num
Lower/Upper Confidence Intervalsci_lower ci_upper
Confidence Intervals on Dataframeci_var
Clean text strings automaticallycleanNames cleanText
Automated K-Means Clustering + PCA/t-SNEclusterKmeans
Visualize K-Means Clusters for Several K MethodsclusterOptimalK
Visualize K-Means Clusters for Several KclusterVisualK
Confussion Matrixconf_mat
Correlation tablecorr
Ranked cross-correlation across all variablescorr_cross
Correlation between variable and dataframecorr_var plot.corr_var
Download and plot daily downloads of CRAN packagescran_logs
Weighted Cross Tabulationcrosstab
DALEX Localdalex_local
DALEX Residualsdalex_residuals
DALEX Partial Dependency Plots (PDP)dalex_variable
Convert Date into Year + Cutdate_cuts
One Hot Encoding for Date/Time Variables (Dummy Variables)date_feats
Download/Import Dropbox File by File's Namedb_download
Upload Local Files to Dropboxdb_upload
Dataset columns and rows structuredf_str
Results for AutoML Predictionsdfr
Titanic Datasetdft
Distance from specific point to linedist2d
Compare Variables with their Distributionsdistr
Calculate Continuous Values Errorserrors mae mape mse rmse rsq rsqa
ETF's Sectors Breakdownetf_sector
Export ggplot2, gridExtra, or any plot object into rendered fileexport_plot
Export h2o_automl's Resultsexport_results
Facebook Ad Accountsfb_accounts
Facebook Ads APIfb_ads
Facebook Creatives APIfb_creatives
Facebook Insights APIfb_insights
Paginate and Process Facebook's API Resultsfb_process
Facebook API Report Status Checkfb_report_check
Facebook Reach and Frequency APIfb_rf
Facebook's Long-Life User API Tokenfb_token
Extract file raw name and type from file namesfile_name file_type
List all functions used in R script files by packagefiles_functions
Google Drive Files (API v4)filesGD
Check if Font is Installedfont_exists
ARIMA Forecastforecast_arima
Print Coloured MessagesformatColoured
Format a string text as markdown/HTMLformatHTML formatNum
Frequencies Calculations and Plotfreqs
Plot for All Frequencies on Dataframefreqs_df
Frequencies on Lists and UpSet Plotfreqs_list
Combined Frequencies Plot for Categorical Featuresfreqs_plot
Cumulative Gain, Lift and Responsegain_lift
Gemini API Interaction with Rgemini_ask gemini_image
Load Credentials from a YML Fileget_credentials get_creds
Download Historical Currency Exchange Rateget_currency
Download MP3 from URLget_mp3
Get Tweetsget_tweets
Custom fill, colour and text colours for ggplot2gg_colour_customs gg_fill_customs gg_text_customs gg_vals
Interpolate a string [glue wrapper]glued
ChatGPT API Interaction with Rgpt_ask gpt_classify gpt_convert gpt_extract gpt_format gpt_history gpt_table gpt_tag gpt_translate
Structured Prompt Builder for LLM (ChatGPT)gpt_prompter
Pattern Matching for Letters considering Blanksgrepl_letters
Pattern Matching for Any or All Multiple Matchesgrepm
Google Trends: Related and Time Plotsgtrends_related gtrends_time trendsRelated trendsTime
Automated H2O's AutoMLh2o_automl plot.h2o_automl print.h2o_automl
DALEX Explainer for H2Odalex_explainer h2o_explainer
Calculate predictions of h2o Modelsh2o_predict_API h2o_predict_binary h2o_predict_model h2o_predict_MOJO
Automated H2O's AutoML Resultsh2o_results
Select Model from h2o_automl's Leaderboardh2o_selectmodel
SHAP values for H2O Modelsh2o_shap plot.h2o_shap
Internet Connection CheckhaveInternet
Holidays in your Countryholidays
Get Meta Data from Image Filesimage_metadata
Import Excel File with All Its Tabsimportxlsx
Impute Missing Values (using MICE)impute
Install/Update Additional Recommended Librariesinstall_recommended
Scrap data based on IP addressip_data
Check if input is_* or are_*are_binary are_constant are_id is_ip is_url
Iterate Seeds on AutoMLiter_seeds
Convert Python JSON string to R vector (data.frame with 1 row)json2vector
Analytics, Data Mining & Machine Learning Sidekicklares-package lares
Print lares R library Logolares_logo
Personal Colours Palettelares_pal
Pipe operator%>% lares-exports
Most Relevant Features Using Lasso Regressionlasso_vars
Left or Right N characters of a stringleft right
OAuth Linkedinli_auth
Get My Personal LinkedIn Datali_profile
List categorical values for data.framelist_cats
List files in a directorylistfiles
Logarithmic Loss Function for Binary ModelsloglossBinary
Send Emails with Attachments (POST)mail_send
Convert markdown string tables to data.framemarkdown2df
Maze Solver, inspired by Micromouse competitionsmaze_gridsearch maze_solve print.maze_solve
Calculate and Visualize Missingnessmissingness
Model Metrics and Performancemodel_metrics
Automate Data Preprocess for Modelingmodel_preprocess
Move files from A to Bmove_files
Confussion Matrix Plotmplot_conf
Cuts by quantiles for score plotmplot_cuts
Cuts by quantiles on absolute and percentual errors plotmplot_cuts_error
Density plot for discrete and continuous valuesmplot_density
MPLOTS Score Full Report Plotsmplot_full
Cumulative Gain Plotmplot_gain
Variables Importances Plotmplot_importance
Linear Regression Results Plotmplot_lineal
Model Metrics and Performance Plotsmplot_metrics
Cumulative Response Plotmplot_response
ROC Curve Plotmplot_roc
Split and compare quantiles plotmplot_splits
Top Hit Ratios for Multi-Classification Modelsmplot_topcats
Split a dataframe for training and testing setsmsplit
What's my IP?myip
Build N-grams and keep most frequentngrams
Plot Result with Nothing to PlotnoPlot
Normalize Vectornormalize
Abbreviate or dis-abbreviate numerical valuesnum_abbr
One Hot Encoding for a Vector with Comma Separated Valuesohe_commas
One Hot Smart Encoding (Dummy Variables)ohse
Outliers: Tukey’s fencesoutlier_turkey
Outliers: Z-score methodoutlier_zscore
Outliers: Z-score method plotoutlier_zscore_plot
Plot All Categorical Features (Frequencies)plot_cats
Chords Plotplot_chord
Plot Summary of Numerical and Categorical Featuresplot_df
Plot All Numerical Features (Boxplots)plot_nums
Plot Palette Coloursplot_palette
Visualize Survey Resultsplot_survey
Plot timeline as Gantt Plotplot_timeline
Facebook's Prophet Forecastprophesize
Calculate cuts by quantilesquants
PostgreSQL Queries on Database (Read)queryDB
Queries on Google AnalyticsqueryGA
Quiet prints and verbose noisequiet
Read Files Quickly (Auto-detected)read.file
Google Sheets Reading and Writing (API v4)readGS readGS4 writeGS writeGS4
Reduce Dimensionality with PCAreduce_pca
Reduce Dimensionality with t-SNEreduce_tsne
Remove stop-words and patterns from character vectorremove_stopwords
Remove/Drop Columns in which ALL or SOME values are NAsnumericalonly removenacols removenarows
Replace Values Withreplaceall
Replace Factor Valuesreplacefactor
Cross-MMM Budget Optimizationprint.robyn_crossmmm robyn_crossmmm
Robyn: Generate default hyperparametersrobyn_hypsbuilder
Robyn: Model Selection by Weighted Criteria Scoresplot.robyn_modelselector robyn_modelselector
Robyn: Dynamic Performance and Contribution Reportrobyn_performance
AUC and ROC Curves DataROC
Generative Art: Sphere XmodYrtistry_sphere
Axis scales formatscale_x_abbr scale_x_comma scale_x_dollar scale_x_formatNum scale_x_percent scale_y_abbr scale_y_comma scale_y_dollar scale_y_formatNum scale_y_percent
Scrabble: Dictionariesscrabble_dictionary scrabble_points scrabble_score scrabble_words
Sentiment Breakdown on TextsentimentBreakdown
SHAP-based dependence plots for categorical/numerical features (PDP)shap_var
Send Slack Message (Webhook)slackSend
Investing Portfolio Reporting Plotssplot_change splot_divs splot_etf splot_growth splot_roi splot_summary splot_types
Spread list column into new columnsspread_list
Progressive Status Bar (Loading)statusbar
Build a Personal Investing Portfolio Reportdaily_portfolio daily_stocks stocks_file stocks_obj stocks_report
Download Stocks Historical and Current Valuesplot.stocks_hist stocks_hist stocks_quote
Solve Sudoku Puzzlessudoku_solver
Set Target Value in Target Variabletarget_set
Wordcloud PlottextCloud
Create features out of texttextFeats
Tokenize Vectors into WordstextTokenizer
Theme for ggplot2 (lares)theme_lares
Stopwatch to measure timings in Rtic toc
Keyword/Topic identification using RAKEtopics_rake
Recursive Partitioning and Regression Treestree_var
Trim MP3 Audio Filetrim_mp3
Check if Specific Package is Installedtry_require
Update the library (dev or CRAN version)updateLares
Convert a vector into a comma separated textv2t vector2text
Test the Truth of R Expressions and Warnwarnifnot
Calculate weighted stock values using FIFO/LIFOweighted_value
Calculate the size of any R object or directorywhat_size
Outliers: Winsorizewinsorize
Wordle Game Validationprint.wordle_check print.wordle_simulation wordle_check wordle_dictionary wordle_simulation
Ranked Predictive Power of Cross-Features (x2y)plot.x2y plot.x2y_preds x2y x2y_metric x2y_preds
Convert Date into Year-Month, Year-Quarter or Year-Week Formatyear_month year_quarter year_week
Zero Variance Columnszerovar