Learn R Programming

drhutools (version 1.0.0)

Political Science Academic Research Gears

Description

Using these tools to simplify the research process of political science and other social sciences. The current version can create folder system for academic project in political science, calculate psychological trait scores, visualize experimental and spatial data, and set up color-blind palette, functions used in academic research of political psychology or political science in general.

Copy Link

Version

Install

install.packages('drhutools')

Monthly Downloads

172

Version

1.0.0

License

MIT + file LICENSE

Maintainer

Yue Hu

Last Published

December 5th, 2024

Functions in drhutools (1.0.0)

toy_poly

Toy Dataset for goodmap
cdplot

Visualizing the experimental outcome with cumulative distribution functions.
scale_color_gb

Fill scale constructors for gold & black colors
scale_fill_gb

Color scale constructors for gold & black colors
goodmap

The goodmap function is designed to create interactive PNG Map or GIF Map from a provided data file. It supports two types of maps: point and polygon. The function can visualize data by either plotting points based on geographical coordinates or highlighting regions polygon based on their administrative boundaries (province or city level). Additionally, the function can generate animated that showcase the change of data.
gb_cols

Function to extract colors as hex codes.
traits

Calculate psychological traits based on
folderSystem

Folder hierarchy creator for academic research
gb_pal

Function to interpolate a gold-black color palette.
leafletcn.map.names

Leaflet Map Names Dataset