jst_augment: Clean data from DfR

View source: R/augmentations.R

jst_augmentR Documentation

Clean data from DfR

Description

This function takes data from jst_get_article() and applies helper functions for cleaning the data.

Usage

jst_augment(meta_data, quietly = FALSE)

Arguments

meta_data

Data which was processed via jst_get_article().

quietly

Should warnings from converting page ranges be suppressed?

Details

Data from DfR is inherently messy. For many examples see vignette("known-quirks", package = "jstor"). jst_augment() is a convenience function that tries to deal with a few common tasks to clean the data.

For journal articles, it calls jst_clean_page() to convert first and last page, jst_unify_journal_id() and jst_add_total_pages().

Value

A cleaned tibble.

See Also

jst_clean_page() jst_unify_journal_id() jst_add_total_pages() jst_get_total_pages()


tklebel/jstor documentation built on July 31, 2023, 1:35 p.m.