Package: upstartr 0.1.2

Tom Cardoso

upstartr: Utilities Powering the Globe and Mail's Data Journalism Template

Core functions necessary for using The Globe and Mail's R data journalism template, 'startr', along with utilities for day-to-day data journalism tasks, such as reading and writing files, producing graphics and cleaning up datasets.

Authors:Tom Cardoso [aut, cre], Michael Pereira [ctb], The Globe and Mail Inc. [cph]

upstartr_0.1.2.tar.gz
upstartr_0.1.2.zip(r-4.5)upstartr_0.1.2.zip(r-4.4)upstartr_0.1.2.zip(r-4.3)
upstartr_0.1.2.tgz(r-4.4-any)upstartr_0.1.2.tgz(r-4.3-any)
upstartr_0.1.2.tar.gz(r-4.5-noble)upstartr_0.1.2.tar.gz(r-4.4-noble)
upstartr_0.1.2.tgz(r-4.4-emscripten)upstartr_0.1.2.tgz(r-4.3-emscripten)
upstartr.pdf |upstartr.html
upstartr/json (API)
NEWS

# Install 'upstartr' in R:
install.packages('upstartr', repos = c('https://globeandmail.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/globeandmail/upstartr/issues

On CRAN:

datadata-analysisdata-journalismdata-visualizationjournalismnews

4.13 score 6 stars 45 scripts 240 downloads 39 exports 107 dependencies

Last updated 11 months agofrom:963cd13163. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 12 2024
R-4.5-winOKNov 12 2024
R-4.5-linuxOKNov 12 2024
R-4.4-winOKNov 12 2024
R-4.4-macOKNov 12 2024
R-4.3-winOKNov 12 2024
R-4.3-macOKNov 12 2024

Exports:%not_in%begin_processingcalc_indexcalc_modeclean_columnscombine_csvscombine_excelsconvert_str_to_logicaldir_data_cachedir_data_outdir_data_processeddir_data_rawdir_pathdir_plotsdir_reportsdir_scrapedir_srcend_processinginitialize_startrnot.nanot.nullread_all_excel_sheetsremove_non_utf8render_notebookreorder_withinrun_analyzerun_configrun_notebookrun_processrun_visualizescale_x_percentscale_x_reorderedscale_y_percentscale_y_reorderedsimplify_stringunaccentwrite_excelwrite_plotwrite_shp

Dependencies:audiobase64encbeeprBiocManagerbitbit64bslibcachemcellrangerclassclassIntclicliprcolorspacecpp11crayondata.tableDBIdigestdplyrdtte1071englishevaluatefansifarverfastmapfontawesomefsgenericsggplot2gluegtableherehighrhmshtmltoolsisobandjaneaustenrjquerylibjsonliteKernSmoothknitrlabelinglatticelexiconlibrarianlifecyclemagrittrMASSMatrixmemoisemgcvmgsubmimemunsellnlmeNLPopenxlsxpillarpkgconfigprettyunitsprogressproxypurrrqdapRegexR6rappdirsRColorBrewerRcppreadrreadxlrematchremotesrlangrmarkdownrprojroots2sassscalessfslamSnowballCstringistringrsyuzhettextcleantextshapetgamthemetibbletidyrtidyselecttidytexttinytextokenizerstzdbunitsutf8vctrsviridisLitevroomwithrwkxfunyamlzipzoo

Readme and manuals

Help Manual

Help pageTopics
Opposite of %in%%not_in%
Runs the pre-processing step on a startr project.begin_processing
Index valuescalc_index
Calculate modecalc_mode
Cleans up column names by forcing them into tidyverse styleclean_columns
Combine CSVs in a directorycombine_csvs
Combine Excel files in a directorycombine_excels
Converts a character vector to logicalsconvert_str_to_logical
Get path within cached data directory.dir_data_cache
Get path within disposable data outputs directory.dir_data_out
Get path within processed data directory.dir_data_processed
Get path within raw data directory.dir_data_raw
Construct an arbitrary path.dir_path
Get path within plots directory.dir_plots
Get path within reports directory.dir_reports
Get path within scrape directory.dir_scrape
Get path within src directorydir_src
Runs the post-processing step on a startr project.end_processing
Initialize startr projectinitialize_startr
Opposite of is.nanot.na
Opposite of is.nullnot.null
Combine all sheets in an Excel fileread_all_excel_sheets
Removes non-UTF-8 charactersremove_non_utf8
Renders out an RMarkdown notebook.render_notebook
Runs the analysis step for a startr project.run_analyze
Configures an existing startr projectrun_config
Runs the notebook rendering step for a startr project.run_notebook
Runs the processing step on a startr project.run_process
Runs the visualization step for a startr project.run_visualize
Create a continuous x-axis scale using percentagesscale_x_percent
Create a continuous y-axis scale using percentagesscale_y_percent
Simplifies strings for analysissimplify_string
De-accents stringsunaccent
Write out an Excel file with minimal configurationwrite_excel
Write out a ggplot2 graphic with minimal configurationwrite_plot
Write a shapefile to diskwrite_shp