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


jstor documentation built on Aug. 16, 2023, 5:09 p.m.