{misc} stands for miscellaneous. This is a personal package. Use it
at your own risk.
You can install the released version of misc from github with:
if (!require("remotes")) install.packages("remotes")
if (!require("misc")) remotes::install_github("kguidonimartins/misc")
Check all available functions inside an interactive session using
help(package = misc) or in the site package
here.
| ID | Function | Description |
|----:|:----------------------------------|:-------------------------------------------------------------|
| 1 | add_gitignore() | Add a gitignore file to the project root |
| 2 | combine_words_ptbr() | Combine words using ptbr rules |
| 3 | create_dirs() | Create directories |
| 4 | describe_data() | Describe data |
| 5 | filter_na() | Easily filter NA values from data frames |
| 6 | ipak() | Install and load multiple CRAN and github R packages |
| 7 | na_count() | Count NA frequency in data |
| 8 | na_viz() | Visualize NA frequency in data |
| 10 | prefer() | Defines preferred package::functions |
| 11 | quick_map() | Create maps quickly |
| 12 | read_all_sheets_then_save_csv() | Read and save all excel sheets and save them to a CSV file |
| 13 | read_all_xlsx_then_save_csv() | Read all sheets from all excel files and save into CSV files |
| 14 | read_sheet_then_save_csv() | Read an excel sheet and save it to a CSV file |
| 15 | save_plot() | Save a ggplot figure |
| 16 | save_temp_data() | Save object as RDS file |
| 17 | setup_lintr() | Setup a config file for static code analysis |
| 18 | tad_view() | Alternative data.frame viewer using tad |
| 19 | trim_fig() | Remove white spaces around figures |
| 20 | view_in() | Alternative data.frame viewer |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.