jst_augment: Clean data from DfR

Description Usage Arguments Details Value See Also

View source: R/augmentations.R

Description

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

Usage

1
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 Dec. 11, 2021, 9:56 a.m.