generated from kse-ua/quick-start
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Graph Compositionlooking for solutionWell-defined problems that could be expressed as a simple reproducible exampleWell-defined problems that could be expressed as a simple reproducible example
Description
Objective
Design the following frequency distribution graph :
X - number of radas in hromada's composition
Y - number of hromadas (frequency of occurce of hromadas with this number of radas)
Facet_wrap - oblast, free Y scaling, fixed X scaling
Color/FIll - region (e.g. West, East)
The oblasts arranged on 5 x 5 grid in integer sequence starting with 1 in the top left and increasing by 1 from letf to right, continuing each row with the leftmost cell. The order is controlled via column map_position in Kodificator tab oblasti and assigned as factor levels before passing to ggplot()
Notes
- Develop
./analysis/regions-and-distributions/regions-and-distributions.R(which is an exact copy of./scripts/templates/report-isolated.R) to host the script for producing this graph in chunkgraph-1 - Please work in
./analysis/regions-and-distribution/regions-and-distribution-yourname.Rscripts on the main branch. I will be pulling consolidated solutions into the main script./analysis/regions-and-distributions/regions-and-distributions.R - Do not commit graphs.
Looking forward
Prepare to develop this graph in a graphing function which would work with both discrete values on the X-scale (e.g. counts of radas) and continuous values (e.g. tax revenue)
Modifications
- add median lines for oblast, region, and country
- print total number of hromadas in the top right corner of the cell
- create display label for the facet that includes region name
- connect Rmd to R and kick-off a dynamic report
Metadata
Metadata
Assignees
Labels
Graph Compositionlooking for solutionWell-defined problems that could be expressed as a simple reproducible exampleWell-defined problems that could be expressed as a simple reproducible example