[x] Make sure all bar charts are consistent with regard to x-axis tick marks (either present on all or absent from all). Currently activated in style.R.
[x] Figure out how to automatically standardize the RSC logo position on the graphs (need to be more accurate/consistent in relation to other graph elements, not simply bottom left).
[x] Standardize height of all graph titles and sources captions. Use IQR of y-axis values to create a dynamic but relatively stable margin for use?
[x] Fix x-axis label spacing issue (1978, 1980, 1983). Check xbreaks function in local_utils.R.
[x] Stop monthly ES rules by pres month from malfunctioning.
[x] Modify “end date” of data range for monthly ES rules for current (Biden) admin and find a more durable way of determining it from the last month that there is a Biden rule data value for (incase we can’t update the original dataset for a while).
[x] Add alt text of graph titles to PNGs on main and by agency page to help with search engine identification.
[x] Prepare Cumulative Econ Sig graphs/code for second Trump term.
[x] Reformat suggested citation on "By Agency" page.
[x] Add GitHub hyperlink on main page.
[x] Add GitHub hyperlink and email address to reach out to us on the "By Agency" page.
[x] Fix faint top horizontal line on all bar graphs (see png files for proof/look at pngs on website for proof). Does this have to do with the bottom margin of the title? If so, may need to automatically adjust each for all graphs based on a % of the y-axis. See if you can change margin units from points to something else that scales up with the y-axis. <-- Fixed this by turning off cartesian coordinate clipping for all scripts. But now need to figure out a better (possibly dynamic) way of adjusting the scale_y_continuous and scale_x_continuous limits. Can use unit = “npc” instead of unit = "pt"?
[x] Change all unit = "pt" to unit = “npc” to create dynamic positions for all graph and axis titles, captions, and text (will need to adjust margin units and similar features as well via trial and error). Will need to make these changes in both Style.R and in individual Rmd files where specific tweaks are applied. If you do this, you may be able to undo the specifically tailored cartesian coordinate clipping of the axes that was going on in many of the charts. May just be able to set coord_cartesian(clip = “off”) in Style.R <-- This last suggestion is currently implemented.
[x] For agency graphs, make sure highest value doesn’t touch highest horizontal line (all should be below, reformat intervals to do this if necessary).
[x] On main page, remove blue mouseover highlighting on titles/hyperlink anchors?
[x] Modify HTML code for hyperlink title colors and for centering descriptions and graphs for rules by agency. Use DOE and ED as examples of double and single charts to work off of.
[x] Change "RegStats" to "Reg Stats" at top of Rules by Agency page.
[x] On the main Reg Stats page, check that order of graphs and table of contents hyperlinks are now correct (and make sure that all hyperlinks and data downloads work).
[x] Standardize the way that pdfs open on Reg Stats page when pngs are clicked (in new tab vs. in current tab).
[x] On the Reg Stats page, remove the hover effects for titles.
[x] Remove "home" from upper left corner of Rules by Agency page.
@haysarah :
[x] Add short blurb to top of RegStats: Rules by Agency to explain why some only have one graph while others have two.
At Zoey's suggestion, I made a list of Reg Stats To-Dos. I think we should work through this list before we start going through the code to improve the internal documentation.
@henhirsch :
@zhoudanxie :
@haysarah :