MyNixOS website logo
Description

Miscellaneous Functions for Data and Geospatial Work.

Helpers for common data analysis tasks including missing-value summaries and filters, simple reporting and plotting utilities, 'Excel' import and export workflows, and reading geospatial formats (for example shapefiles in zip archives, file geodatabases, KMZ, and KML) via 'sf' and related packages. Also includes small project utilities such as creating directories, gitignore scaffolding, combined package loading, and optional 'lintr' setup.

misc

R buildstatus

{misc} stands for miscellaneous. This is a personal package. Use it at your own risk.

Installation

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")

Available functions

Check all available functions inside an interactive session using help(package = misc) or in the site package here.

IDFunctionDescription
1add_gitignore()Add a gitignore file to the project root
2combine_words_ptbr()Combine words using ptbr rules
3create_dirs()Create directories
4deduplicate_by()Remove duplicate rows based on specified grouping variables
5describe_data()Describe data
6filter_na()Easily filter NA values from data frames
7ipak()Load multiple CRAN and GitHub R packages
8na_count()Count NA frequency in data
9na_viz()Visualize NA frequency in data
11prefer()Defines preferred package::functions
12quick_map()Create maps quickly
13read_all_sheets_then_save_csv()Read and save all excel sheets and save them to a CSV file
14read_all_xlsx_then_save_csv()Read all sheets from all excel files and save into CSV files
15read_gdb()Read layers from a file geodatabase (.gdb)
16read_geo()Read a geospatial file or dataset (auto-detect by extension)
17read_kmz()Read a KMZ file (KML in a ZIP)
18read_sf_zip()Read shapefile(s) inside a ZIP archive via GDAL
19read_sheet_then_save_csv()Read an excel sheet and save it to a CSV file
20remove_columns_based_on_NA()Remove columns based on NA values
21save_plot()Save a ggplot figure
22save_temp_data()Save object as RDS file
23tad_view()Alternative data.frame viewer using tad
24trim_fig()Remove white spaces around figures
25view_excel()View data frame in Excel or other spreadsheet viewer
26view_in()Alternative data.frame viewer
27view_mapview_from_path()View spatial data from file path with optional map preview
28view_vd()View data in VisiData
29view_vd_nonint()View data frame in VisiData (non-interactive version)
Metadata

Version

0.0.5

License

Unknown

Platforms (80)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arc-linux
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • sh4-linux
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows