README.md

GERDA R Package

This package provides functions to access and work with GERDA datasets.

Note: This package is currently a work in progress. Comments and suggestions are welcome -- please send to hhilbig@ucdavis.edu.

Installation

You can install the development version of GERDA from GitHub using the devtools package:

# Install devtools if you haven't already
if (!requireNamespace("devtools", quietly = TRUE)) {
  install.packages("devtools")
}

# Install GERDA
devtools::install_github("hhilbig/gerda")

Main Functions

The function includes fuzzy matching for file names and will suggest close matches if an exact match isn't found.

Usage Examples

# Load the package
library(gerda)

# List available datasets
available_data <- gerda_data_list()

# Load a dataset
data_municipal_harm <- load_gerda_web("municipal_harm", verbose = TRUE, file_format = "rds")

Note

For a complete list of available datasets and their descriptions, use the gerda_data_list() function. This function either prints a formatted table to the console and invisibly returns a tibble or directly returns the tibble without printing.

Feedback

As this package is a work in progress, we welcome feedback. Please send your comments to hhilbig@ucdavis.edu or open an issue on the GitHub repository.



Try the gerda package in your browser

Any scripts or data that you put into this service are public.

gerda documentation built on April 3, 2025, 11:23 p.m.