1 line
78 KiB
JSON
1 line
78 KiB
JSON
[{"path":"https://gnoblet.github.io/visualizeR/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Noblet Guillaume. Author, maintainer.","code":""},{"path":"https://gnoblet.github.io/visualizeR/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Guillaume N (2022). visualizeR: color! viz!. https://github.com/gnoblet/visualizeR, https://gnoblet.github.io/visualizeR/.","code":"@Manual{, title = {visualizeR: What a color! What a viz!}, author = {Noblet Guillaume}, year = {2022}, note = {https://github.com/gnoblet/visualizeR, https://gnoblet.github.io/visualizeR/}, }"},{"path":"https://gnoblet.github.io/visualizeR/index.html","id":"visualizer-","dir":"","previous_headings":"","what":"What a color! What a viz!","title":"What a color! What a viz!","text":"color! viz! visualizeR proposes utils get REACH AGORA colors, ready--go color palettes, visualization functions (horizontal hist graph instance).","code":""},{"path":"https://gnoblet.github.io/visualizeR/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"What a color! What a viz!","text":"can install last version visualizeR GitHub :","code":"# install.packages(\"devtools\") devtools::install_github(\"gnoblet/visualizeR\", build_vignettes = TRUE)"},{"path":"https://gnoblet.github.io/visualizeR/index.html","id":"roadmap","dir":"","previous_headings":"","what":"Roadmap","title":"What a color! What a viz!","text":"Roadmap follows: Add IMPACT’s colors Add color palettes internal documentation remains added --7-color palettes black color palettes Add new types visualization (e.g. dumbbell plot) Use examples Add ease-map functions Add interactive functions (maps graphs)","code":""},{"path":"https://gnoblet.github.io/visualizeR/index.html","id":"request","dir":"","previous_headings":"","what":"Request","title":"What a color! What a viz!","text":"Please, hesitate pull request new viz colors color palettes, email request change (guillaume.noblet@reach-initiative.org gnoblet@zaclys.net).","code":""},{"path":"https://gnoblet.github.io/visualizeR/index.html","id":"colors","dir":"","previous_headings":"","what":"Colors","title":"What a color! What a viz!","text":"Color palettes REACH, AGORA IMPACT available. Functions access colors palettes cols_initiative() pal_initiative(). now, initiative colors color palettes REACH. Feel free pull requests new AGORA IMPACT colors.","code":"library(visualizeR) # Get all saved REACH colors, named cols_reach(unnamed = F)[1:10] #> white black main_grey main_red main_lt_grey main_beige #> \"#FFFFFF\" \"#000000\" \"#58585A\" \"#EE5859\" \"#C7C8CA\" \"#D2CBB8\" #> iroise_1 iroise_2 iroise_3 iroise_4 #> \"#DFECEF\" \"#B1D7E0\" \"#699DA3\" \"#236A7A\" # Extract a color palette as hexadecimal codes and reversed pal_reach(palette = \"main\", reversed = TRUE, color_ramp_palette = FALSE) #> [1] \"#58585A\" \"#EE5859\" \"#C7C8CA\" \"#D2CBB8\" # Get all color palettes names pal_reach(show_palettes = T) #> [1] \"main\" \"primary\" \"secondary\" \"two_dots\" #> [5] \"two_dots_flashy\" \"red_main\" \"red_main_5\" \"red_alt\" #> [9] \"red_alt_5\" \"iroise\" \"iroise_5\" \"discrete_6\" #> [13] \"red_2\" \"red_3\" \"red_4\" \"red_5\" #> [17] \"red_6\" \"red_7\" \"green_2\" \"green_3\" #> [21] \"green_4\" \"green_5\" \"green_6\" \"green_7\" #> [25] \"artichoke_2\" \"artichoke_3\" \"artichoke_4\" \"artichoke_5\" #> [29] \"artichoke_6\" \"artichoke_7\" \"blue_2\" \"blue_3\" #> [33] \"blue_4\" \"blue_5\" \"blue_6\" \"blue_7\""},{"path":[]},{"path":"https://gnoblet.github.io/visualizeR/index.html","id":"example-1-bar-chart-already-reach-themed","dir":"","previous_headings":"Charts","what":"Example 1: Bar chart, already REACH themed","title":"What a color! What a viz!","text":"","code":"library(visualizeR) library(palmerpenguins) library(dplyr) df <- penguins |> group_by(island, species) |> summarize( mean_bl = mean(bill_length_mm, na.rm = T), mean_fl = mean(flipper_length_mm, na.rm = T)) |> ungroup() # Simple bar chart by group with some alpha transparency bar(df, island, mean_bl, species, percent = FALSE, alpha = 0.6, x_title = \"Mean of bill length\") # Using another color palette through `theme_reach()` and changing scale to percent bar(df, island,mean_bl, species, percent = TRUE, theme = theme_reach(palette = \"artichoke_3\")) # Not flipped, with text added, group_title, no y-axis and no bold for legend bar(df, island, mean_bl, species, group_title = \"Species\", flip = FALSE, add_text = TRUE, add_text_suffix = \"%\", percent = FALSE, theme = theme_reach(text_font_face = \"plain\", axis_y = FALSE))"},{"path":"https://gnoblet.github.io/visualizeR/index.html","id":"example-2-point-chart-already-reach-themed","dir":"","previous_headings":"Charts","what":"Example 2: Point chart, already REACH themed","title":"What a color! What a viz!","text":"stage, point_reach() supports categorical grouping colors group arg.","code":"# Simple point chart point(penguins, bill_length_mm, flipper_length_mm) # Point chart with grouping colors, greater dot size, some transparency, reversed color palette point(penguins, bill_length_mm, flipper_length_mm, island, alpha = 0.6, size = 3, theme = theme_reach(reverse = TRUE)) # Using another color palettes point(penguins, bill_length_mm, flipper_length_mm, island, size = 1.5, x_title = \"Bill\", y_title = \"Flipper\", title = \"Length (mm)\", theme = theme_reach(palette = \"artichoke_3\", text_font_face = , grid_x = T))"},{"path":"https://gnoblet.github.io/visualizeR/index.html","id":"maps","dir":"","previous_headings":"","what":"Maps","title":"What a color! What a viz!","text":"exported tmap::tmap_save().","code":"# Add indicator layer # - based on \"pretty\" classes and title \"Proportion (%)\" # - buffer to add a 10% around the bounding box map <- add_indicator_layer( indicator_admin1, opn_dfc, buffer = 0.1) + # Layout - some defaults - add the map title add_layout(\"% of HH that reported open defecation as sanitation facility\") + # Admin boundaries as list of shape files (lines) and colors, line widths and labels as vectors add_admin_boundaries( lines = list(line_admin1, border_admin0, frontier_admin0), colors = cols_reach(\"main_lt_grey\", \"dk_grey\", \"black\"), lwds = c(0.5, 2, 3), labels = c(\"Department\", \"Country\", \"Dominican Rep. frontier\"), title = \"Administrative boundaries\") + # Add text labels - centered on admin 1 centroids add_admin_labels(centroid_admin1, ADM1_FR_UPPER) + # Add a compass add_compass() + # Add a scale bar add_scale_bar() + # Add credits add_credits(\"Admin. boundaries. : CNIGS \\nCoord. system: GCS WGS 1984\")"},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"GNU General Public License","title":"GNU General Public License","text":"Version 3, 29 June 2007Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/> Everyone permitted copy distribute verbatim copies license document, changing allowed.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"preamble","dir":"","previous_headings":"","what":"Preamble","title":"GNU General Public License","text":"GNU General Public License free, copyleft license software kinds works. licenses software practical works designed take away freedom share change works. contrast, GNU General Public License intended guarantee freedom share change versions program–make sure remains free software users. , Free Software Foundation, use GNU General Public License software; applies also work released way authors. can apply programs, . speak free software, referring freedom, price. General Public Licenses designed make sure freedom distribute copies free software (charge wish), receive source code can get want , can change software use pieces new free programs, know can things. protect rights, need prevent others denying rights asking surrender rights. Therefore, certain responsibilities distribute copies software, modify : responsibilities respect freedom others. example, distribute copies program, whether gratis fee, must pass recipients freedoms received. must make sure , , receive can get source code. must show terms know rights. Developers use GNU GPL protect rights two steps: (1) assert copyright software, (2) offer License giving legal permission copy, distribute /modify . developers’ authors’ protection, GPL clearly explains warranty free software. users’ authors’ sake, GPL requires modified versions marked changed, problems attributed erroneously authors previous versions. devices designed deny users access install run modified versions software inside , although manufacturer can . fundamentally incompatible aim protecting users’ freedom change software. systematic pattern abuse occurs area products individuals use, precisely unacceptable. Therefore, designed version GPL prohibit practice products. problems arise substantially domains, stand ready extend provision domains future versions GPL, needed protect freedom users. Finally, every program threatened constantly software patents. States allow patents restrict development use software general-purpose computers, , wish avoid special danger patents applied free program make effectively proprietary. prevent , GPL assures patents used render program non-free. precise terms conditions copying, distribution modification follow.","code":""},{"path":[]},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_0-definitions","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"0. Definitions","title":"GNU General Public License","text":"“License” refers version 3 GNU General Public License. “Copyright” also means copyright-like laws apply kinds works, semiconductor masks. “Program” refers copyrightable work licensed License. licensee addressed “”. “Licensees” “recipients” may individuals organizations. “modify” work means copy adapt part work fashion requiring copyright permission, making exact copy. resulting work called “modified version” earlier work work “based ” earlier work. “covered work” means either unmodified Program work based Program. “propagate” work means anything , without permission, make directly secondarily liable infringement applicable copyright law, except executing computer modifying private copy. Propagation includes copying, distribution (without modification), making available public, countries activities well. “convey” work means kind propagation enables parties make receive copies. Mere interaction user computer network, transfer copy, conveying. interactive user interface displays “Appropriate Legal Notices” extent includes convenient prominently visible feature (1) displays appropriate copyright notice, (2) tells user warranty work (except extent warranties provided), licensees may convey work License, view copy License. interface presents list user commands options, menu, prominent item list meets criterion.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_1-source-code","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"1. Source Code","title":"GNU General Public License","text":"“source code” work means preferred form work making modifications . “Object code” means non-source form work. “Standard Interface” means interface either official standard defined recognized standards body, , case interfaces specified particular programming language, one widely used among developers working language. “System Libraries” executable work include anything, work whole, () included normal form packaging Major Component, part Major Component, (b) serves enable use work Major Component, implement Standard Interface implementation available public source code form. “Major Component”, context, means major essential component (kernel, window system, ) specific operating system () executable work runs, compiler used produce work, object code interpreter used run . “Corresponding Source” work object code form means source code needed generate, install, (executable work) run object code modify work, including scripts control activities. However, include work’s System Libraries, general-purpose tools generally available free programs used unmodified performing activities part work. example, Corresponding Source includes interface definition files associated source files work, source code shared libraries dynamically linked subprograms work specifically designed require, intimate data communication control flow subprograms parts work. Corresponding Source need include anything users can regenerate automatically parts Corresponding Source. Corresponding Source work source code form work.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_2-basic-permissions","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"2. Basic Permissions","title":"GNU General Public License","text":"rights granted License granted term copyright Program, irrevocable provided stated conditions met. License explicitly affirms unlimited permission run unmodified Program. output running covered work covered License output, given content, constitutes covered work. License acknowledges rights fair use equivalent, provided copyright law. may make, run propagate covered works convey, without conditions long license otherwise remains force. may convey covered works others sole purpose make modifications exclusively , provide facilities running works, provided comply terms License conveying material control copyright. thus making running covered works must exclusively behalf, direction control, terms prohibit making copies copyrighted material outside relationship . Conveying circumstances permitted solely conditions stated . Sublicensing allowed; section 10 makes unnecessary.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_3-protecting-users-legal-rights-from-anti-circumvention-law","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"3. Protecting Users’ Legal Rights From Anti-Circumvention Law","title":"GNU General Public License","text":"covered work shall deemed part effective technological measure applicable law fulfilling obligations article 11 WIPO copyright treaty adopted 20 December 1996, similar laws prohibiting restricting circumvention measures. convey covered work, waive legal power forbid circumvention technological measures extent circumvention effected exercising rights License respect covered work, disclaim intention limit operation modification work means enforcing, work’s users, third parties’ legal rights forbid circumvention technological measures.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_4-conveying-verbatim-copies","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"4. Conveying Verbatim Copies","title":"GNU General Public License","text":"may convey verbatim copies Program’s source code receive , medium, provided conspicuously appropriately publish copy appropriate copyright notice; keep intact notices stating License non-permissive terms added accord section 7 apply code; keep intact notices absence warranty; give recipients copy License along Program. may charge price price copy convey, may offer support warranty protection fee.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_5-conveying-modified-source-versions","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"5. Conveying Modified Source Versions","title":"GNU General Public License","text":"may convey work based Program, modifications produce Program, form source code terms section 4, provided also meet conditions: ) work must carry prominent notices stating modified , giving relevant date. b) work must carry prominent notices stating released License conditions added section 7. requirement modifies requirement section 4 “keep intact notices”. c) must license entire work, whole, License anyone comes possession copy. License therefore apply, along applicable section 7 additional terms, whole work, parts, regardless packaged. License gives permission license work way, invalidate permission separately received . d) work interactive user interfaces, must display Appropriate Legal Notices; however, Program interactive interfaces display Appropriate Legal Notices, work need make . compilation covered work separate independent works, nature extensions covered work, combined form larger program, volume storage distribution medium, called “aggregate” compilation resulting copyright used limit access legal rights compilation’s users beyond individual works permit. Inclusion covered work aggregate cause License apply parts aggregate.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_6-conveying-non-source-forms","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"6. Conveying Non-Source Forms","title":"GNU General Public License","text":"may convey covered work object code form terms sections 4 5, provided also convey machine-readable Corresponding Source terms License, one ways: ) Convey object code , embodied , physical product (including physical distribution medium), accompanied Corresponding Source fixed durable physical medium customarily used software interchange. b) Convey object code , embodied , physical product (including physical distribution medium), accompanied written offer, valid least three years valid long offer spare parts customer support product model, give anyone possesses object code either (1) copy Corresponding Source software product covered License, durable physical medium customarily used software interchange, price reasonable cost physically performing conveying source, (2) access copy Corresponding Source network server charge. c) Convey individual copies object code copy written offer provide Corresponding Source. alternative allowed occasionally noncommercially, received object code offer, accord subsection 6b. d) Convey object code offering access designated place (gratis charge), offer equivalent access Corresponding Source way place charge. need require recipients copy Corresponding Source along object code. place copy object code network server, Corresponding Source may different server (operated third party) supports equivalent copying facilities, provided maintain clear directions next object code saying find Corresponding Source. Regardless server hosts Corresponding Source, remain obligated ensure available long needed satisfy requirements. e) Convey object code using peer--peer transmission, provided inform peers object code Corresponding Source work offered general public charge subsection 6d. separable portion object code, whose source code excluded Corresponding Source System Library, need included conveying object code work. “User Product” either (1) “consumer product”, means tangible personal property normally used personal, family, household purposes, (2) anything designed sold incorporation dwelling. determining whether product consumer product, doubtful cases shall resolved favor coverage. particular product received particular user, “normally used” refers typical common use class product, regardless status particular user way particular user actually uses, expects expected use, product. product consumer product regardless whether product substantial commercial, industrial non-consumer uses, unless uses represent significant mode use product. “Installation Information” User Product means methods, procedures, authorization keys, information required install execute modified versions covered work User Product modified version Corresponding Source. information must suffice ensure continued functioning modified object code case prevented interfered solely modification made. convey object code work section , , specifically use , User Product, conveying occurs part transaction right possession use User Product transferred recipient perpetuity fixed term (regardless transaction characterized), Corresponding Source conveyed section must accompanied Installation Information. requirement apply neither third party retains ability install modified object code User Product (example, work installed ROM). requirement provide Installation Information include requirement continue provide support service, warranty, updates work modified installed recipient, User Product modified installed. Access network may denied modification materially adversely affects operation network violates rules protocols communication across network. Corresponding Source conveyed, Installation Information provided, accord section must format publicly documented (implementation available public source code form), must require special password key unpacking, reading copying.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_7-additional-terms","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"7. Additional Terms","title":"GNU General Public License","text":"“Additional permissions” terms supplement terms License making exceptions one conditions. Additional permissions applicable entire Program shall treated though included License, extent valid applicable law. additional permissions apply part Program, part may used separately permissions, entire Program remains governed License without regard additional permissions. convey copy covered work, may option remove additional permissions copy, part . (Additional permissions may written require removal certain cases modify work.) may place additional permissions material, added covered work, can give appropriate copyright permission. Notwithstanding provision License, material add covered work, may (authorized copyright holders material) supplement terms License terms: ) Disclaiming warranty limiting liability differently terms sections 15 16 License; b) Requiring preservation specified reasonable legal notices author attributions material Appropriate Legal Notices displayed works containing ; c) Prohibiting misrepresentation origin material, requiring modified versions material marked reasonable ways different original version; d) Limiting use publicity purposes names licensors authors material; e) Declining grant rights trademark law use trade names, trademarks, service marks; f) Requiring indemnification licensors authors material anyone conveys material (modified versions ) contractual assumptions liability recipient, liability contractual assumptions directly impose licensors authors. non-permissive additional terms considered “restrictions” within meaning section 10. Program received , part , contains notice stating governed License along term restriction, may remove term. license document contains restriction permits relicensing conveying License, may add covered work material governed terms license document, provided restriction survive relicensing conveying. add terms covered work accord section, must place, relevant source files, statement additional terms apply files, notice indicating find applicable terms. Additional terms, permissive non-permissive, may stated form separately written license, stated exceptions; requirements apply either way.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_8-termination","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"8. Termination","title":"GNU General Public License","text":"may propagate modify covered work except expressly provided License. attempt otherwise propagate modify void, automatically terminate rights License (including patent licenses granted third paragraph section 11). However, cease violation License, license particular copyright holder reinstated () provisionally, unless copyright holder explicitly finally terminates license, (b) permanently, copyright holder fails notify violation reasonable means prior 60 days cessation. Moreover, license particular copyright holder reinstated permanently copyright holder notifies violation reasonable means, first time received notice violation License (work) copyright holder, cure violation prior 30 days receipt notice. Termination rights section terminate licenses parties received copies rights License. rights terminated permanently reinstated, qualify receive new licenses material section 10.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_9-acceptance-not-required-for-having-copies","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"9. Acceptance Not Required for Having Copies","title":"GNU General Public License","text":"required accept License order receive run copy Program. Ancillary propagation covered work occurring solely consequence using peer--peer transmission receive copy likewise require acceptance. However, nothing License grants permission propagate modify covered work. actions infringe copyright accept License. Therefore, modifying propagating covered work, indicate acceptance License .","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_10-automatic-licensing-of-downstream-recipients","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"10. Automatic Licensing of Downstream Recipients","title":"GNU General Public License","text":"time convey covered work, recipient automatically receives license original licensors, run, modify propagate work, subject License. responsible enforcing compliance third parties License. “entity transaction” transaction transferring control organization, substantially assets one, subdividing organization, merging organizations. propagation covered work results entity transaction, party transaction receives copy work also receives whatever licenses work party’s predecessor interest give previous paragraph, plus right possession Corresponding Source work predecessor interest, predecessor can get reasonable efforts. may impose restrictions exercise rights granted affirmed License. example, may impose license fee, royalty, charge exercise rights granted License, may initiate litigation (including cross-claim counterclaim lawsuit) alleging patent claim infringed making, using, selling, offering sale, importing Program portion .","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_11-patents","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"11. Patents","title":"GNU General Public License","text":"“contributor” copyright holder authorizes use License Program work Program based. work thus licensed called contributor’s “contributor version”. contributor’s “essential patent claims” patent claims owned controlled contributor, whether already acquired hereafter acquired, infringed manner, permitted License, making, using, selling contributor version, include claims infringed consequence modification contributor version. purposes definition, “control” includes right grant patent sublicenses manner consistent requirements License. contributor grants non-exclusive, worldwide, royalty-free patent license contributor’s essential patent claims, make, use, sell, offer sale, import otherwise run, modify propagate contents contributor version. following three paragraphs, “patent license” express agreement commitment, however denominated, enforce patent (express permission practice patent covenant sue patent infringement). “grant” patent license party means make agreement commitment enforce patent party. convey covered work, knowingly relying patent license, Corresponding Source work available anyone copy, free charge terms License, publicly available network server readily accessible means, must either (1) cause Corresponding Source available, (2) arrange deprive benefit patent license particular work, (3) arrange, manner consistent requirements License, extend patent license downstream recipients. “Knowingly relying” means actual knowledge , patent license, conveying covered work country, recipient’s use covered work country, infringe one identifiable patents country reason believe valid. , pursuant connection single transaction arrangement, convey, propagate procuring conveyance , covered work, grant patent license parties receiving covered work authorizing use, propagate, modify convey specific copy covered work, patent license grant automatically extended recipients covered work works based . patent license “discriminatory” include within scope coverage, prohibits exercise , conditioned non-exercise one rights specifically granted License. may convey covered work party arrangement third party business distributing software, make payment third party based extent activity conveying work, third party grants, parties receive covered work , discriminatory patent license () connection copies covered work conveyed (copies made copies), (b) primarily connection specific products compilations contain covered work, unless entered arrangement, patent license granted, prior 28 March 2007. Nothing License shall construed excluding limiting implied license defenses infringement may otherwise available applicable patent law.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_12-no-surrender-of-others-freedom","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"12. No Surrender of Others’ Freedom","title":"GNU General Public License","text":"conditions imposed (whether court order, agreement otherwise) contradict conditions License, excuse conditions License. convey covered work satisfy simultaneously obligations License pertinent obligations, consequence may convey . example, agree terms obligate collect royalty conveying convey Program, way satisfy terms License refrain entirely conveying Program.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_13-use-with-the-gnu-affero-general-public-license","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"13. Use with the GNU Affero General Public License","title":"GNU General Public License","text":"Notwithstanding provision License, permission link combine covered work work licensed version 3 GNU Affero General Public License single combined work, convey resulting work. terms License continue apply part covered work, special requirements GNU Affero General Public License, section 13, concerning interaction network apply combination .","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_14-revised-versions-of-this-license","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"14. Revised Versions of this License","title":"GNU General Public License","text":"Free Software Foundation may publish revised /new versions GNU General Public License time time. new versions similar spirit present version, may differ detail address new problems concerns. version given distinguishing version number. Program specifies certain numbered version GNU General Public License “later version” applies , option following terms conditions either numbered version later version published Free Software Foundation. Program specify version number GNU General Public License, may choose version ever published Free Software Foundation. Program specifies proxy can decide future versions GNU General Public License can used, proxy’s public statement acceptance version permanently authorizes choose version Program. Later license versions may give additional different permissions. However, additional obligations imposed author copyright holder result choosing follow later version.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_15-disclaimer-of-warranty","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"15. Disclaimer of Warranty","title":"GNU General Public License","text":"WARRANTY PROGRAM, EXTENT PERMITTED APPLICABLE LAW. EXCEPT OTHERWISE STATED WRITING COPYRIGHT HOLDERS /PARTIES PROVIDE PROGRAM “” WITHOUT WARRANTY KIND, EITHER EXPRESSED IMPLIED, INCLUDING, LIMITED , IMPLIED WARRANTIES MERCHANTABILITY FITNESS PARTICULAR PURPOSE. ENTIRE RISK QUALITY PERFORMANCE PROGRAM . PROGRAM PROVE DEFECTIVE, ASSUME COST NECESSARY SERVICING, REPAIR CORRECTION.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_16-limitation-of-liability","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"16. Limitation of Liability","title":"GNU General Public License","text":"EVENT UNLESS REQUIRED APPLICABLE LAW AGREED WRITING COPYRIGHT HOLDER, PARTY MODIFIES /CONVEYS PROGRAM PERMITTED , LIABLE DAMAGES, INCLUDING GENERAL, SPECIAL, INCIDENTAL CONSEQUENTIAL DAMAGES ARISING USE INABILITY USE PROGRAM (INCLUDING LIMITED LOSS DATA DATA RENDERED INACCURATE LOSSES SUSTAINED THIRD PARTIES FAILURE PROGRAM OPERATE PROGRAMS), EVEN HOLDER PARTY ADVISED POSSIBILITY DAMAGES.","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"id_17-interpretation-of-sections-15-and-16","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"17. Interpretation of Sections 15 and 16","title":"GNU General Public License","text":"disclaimer warranty limitation liability provided given local legal effect according terms, reviewing courts shall apply local law closely approximates absolute waiver civil liability connection Program, unless warranty assumption liability accompanies copy Program return fee. END TERMS CONDITIONS","code":""},{"path":"https://gnoblet.github.io/visualizeR/LICENSE.html","id":"how-to-apply-these-terms-to-your-new-programs","dir":"","previous_headings":"","what":"How to Apply These Terms to Your New Programs","title":"GNU General Public License","text":"develop new program, want greatest possible use public, best way achieve make free software everyone can redistribute change terms. , attach following notices program. safest attach start source file effectively state exclusion warranty; file least “copyright” line pointer full notice found. Also add information contact electronic paper mail. program terminal interaction, make output short notice like starts interactive mode: hypothetical commands show w show c show appropriate parts General Public License. course, program’s commands might different; GUI interface, use “box”. also get employer (work programmer) school, , sign “copyright disclaimer” program, necessary. information , apply follow GNU GPL, see <http://www.gnu.org/licenses/>. GNU General Public License permit incorporating program proprietary programs. program subroutine library, may consider useful permit linking proprietary applications library. want , use GNU Lesser General Public License instead License. first, please read <http://www.gnu.org/philosophy/--lgpl.html>.","code":"<one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. <program> Copyright (C) <year> <name of author> This program comes with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free software, and you are welcome to redistribute it under certain conditions; type 'show c' for details."},{"path":"https://gnoblet.github.io/visualizeR/reference/abort_bad_argument.html","id":null,"dir":"Reference","previous_headings":"","what":"Abord bad argument — abort_bad_argument","title":"Abord bad argument — abort_bad_argument","text":"Abord bad argument","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/abort_bad_argument.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Abord bad argument — abort_bad_argument","text":"","code":"abort_bad_argument(arg, must, not = NULL)"},{"path":"https://gnoblet.github.io/visualizeR/reference/abort_bad_argument.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Abord bad argument — abort_bad_argument","text":"arg argument must arg must Optional. arg must .","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/abort_bad_argument.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Abord bad argument — abort_bad_argument","text":"stop statement","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_admin_boundaries.html","id":null,"dir":"Reference","previous_headings":"","what":"Add admin boundaries (lines) and the legend — add_admin_boundaries","title":"Add admin boundaries (lines) and the legend — add_admin_boundaries","text":"Add admin boundaries (lines) legend","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_admin_boundaries.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add admin boundaries (lines) and the legend — add_admin_boundaries","text":"","code":"add_admin_boundaries( lines, colors, labels, lwds, title = \"\", buffer = NULL, ... )"},{"path":"https://gnoblet.github.io/visualizeR/reference/add_admin_boundaries.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add admin boundaries (lines) and the legend — add_admin_boundaries","text":"lines List multiline shape defined sf package. colors Vector hexadecimal codes. order lines. labels Vector labels legend. order lines. lwds Vector line widths. order lines. title Legend title. buffer buffer, either one value vector 4 values (left, bottom, right, top). ... arguments pass shape `tmap::tm_lines()`.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_admin_boundaries.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add admin boundaries (lines) and the legend — add_admin_boundaries","text":"tmap layer.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_admin_labels.html","id":null,"dir":"Reference","previous_headings":"","what":"Wrapper around `tmap::tm_text()` with sane defaults for plotting admin labels. — add_admin_labels","title":"Wrapper around `tmap::tm_text()` with sane defaults for plotting admin labels. — add_admin_labels","text":"Wrapper around `tmap::tm_text()` sane defaults plotting admin labels.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_admin_labels.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Wrapper around `tmap::tm_text()` with sane defaults for plotting admin labels. — add_admin_labels","text":"","code":"add_admin_labels( point, text, size = 0.5, fontface = \"bold\", fontfamily = \"Leelawadee\", shadow = TRUE, auto_placement = FALSE, remove_overlap = FALSE, ... )"},{"path":"https://gnoblet.github.io/visualizeR/reference/add_admin_labels.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Wrapper around `tmap::tm_text()` with sane defaults for plotting admin labels. — add_admin_labels","text":"point Multipoint shape defined sf package. text Text labels column. size Relative size text labels. fontface Fontface. fontfamily Fontfamily. Leelawadee precious. shadow Boolean. Add shadow around text labels. Issue opened Github request. auto_placement Logical determines whether labels placed automatically. remove_overlap Logical determines whether overlapping labels removed. ... arguments pass `tmap::tm_text()`.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_admin_labels.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Wrapper around `tmap::tm_text()` with sane defaults for plotting admin labels. — add_admin_labels","text":"tmap layer.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_compass.html","id":null,"dir":"Reference","previous_headings":"","what":"Add a compass — add_compass","title":"Add a compass — add_compass","text":"Add compass","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_compass.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add a compass — add_compass","text":"","code":"add_compass( text_size = 0.6, position = c(\"right\", 0.8), color_dark = cols_reach(\"black\"), text_color = cols_reach(\"black\"), type = \"4star\", ... )"},{"path":"https://gnoblet.github.io/visualizeR/reference/add_compass.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add a compass — add_compass","text":"text_size Relative font size. position Position compass. Vector two values, specifying x y coordinates. color_dark Color dark parts compass. text_color color text. type Compass type, one : \"arrow\", \"4star\", \"8star\", \"radar\", \"rose\". ... arguments pass `tmap::tm_compass()`.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_compass.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add a compass — add_compass","text":"tmap layer.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_credits.html","id":null,"dir":"Reference","previous_headings":"","what":"Do you want to credit someone or some institution? — add_credits","title":"Do you want to credit someone or some institution? — add_credits","text":"want credit someone institution?","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_credits.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Do you want to credit someone or some institution? — add_credits","text":"","code":"add_credits(text, size = 0.4, bg_color = NA, position = c(0.75, 0.02), ...)"},{"path":"https://gnoblet.github.io/visualizeR/reference/add_credits.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Do you want to credit someone or some institution? — add_credits","text":"text Text. size Relative text size. bg_color Background color. position Position. Vector two coordinates. Usually somewhere . ... arguments pass `tmap::tm_credits()`.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_credits.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Do you want to credit someone or some institution? — add_credits","text":"tmap layer.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_indicator_layer.html","id":null,"dir":"Reference","previous_headings":"","what":"Wrapper around `tmap::tm_polygons()` with sane defaults for plotting indicator values — add_indicator_layer","title":"Wrapper around `tmap::tm_polygons()` with sane defaults for plotting indicator values — add_indicator_layer","text":"Wrapper around `tmap::tm_polygons()` sane defaults plotting indicator values","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_indicator_layer.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Wrapper around `tmap::tm_polygons()` with sane defaults for plotting indicator values — add_indicator_layer","text":"","code":"add_indicator_layer( poly, col, buffer = NULL, n = 5, style = \"pretty\", palette = pal_reach(\"red_5\"), as_count = TRUE, color_na = cols_reach(\"white\"), text_na = \"Missing data\", legend_title = \"Proportion (%)\", legend_text_separator = \" - \", border_alpha = 1, border_col = cols_reach(\"lt_grey_1\"), lwd = 1, ... )"},{"path":"https://gnoblet.github.io/visualizeR/reference/add_indicator_layer.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Wrapper around `tmap::tm_polygons()` with sane defaults for plotting indicator values — add_indicator_layer","text":"poly Multipolygon shape defined sf package. col Numeric attribute map. buffer buffer, either one value vector 4 values (left, bottom, right, top). n desire number classes. style Method process color scale continuous numerical variables. See `classInt::classIntervals()` details. palette Vector fill colors hexadecimal values. REACH color palettes, possible use `pal_reach()`. now,'palette' must changed manually, accordingly number drawn classes. as_count Boolean. col numeric variable, processed count variable? instance, 0, 1-10, 11-20. color_na Fill color missing data. text_na Legend text missing data. legend_title Legend title. legend_text_separator Text separator classes. E.g. \" \" give 0, 1 10, 11 20. border_alpha Transparency border. border_col Color border. lwd Linewidth border. ... arguments pass `tmap::tm_polygons()`.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_indicator_layer.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Wrapper around `tmap::tm_polygons()` with sane defaults for plotting indicator values — add_indicator_layer","text":"tmap layer.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_layout.html","id":null,"dir":"Reference","previous_headings":"","what":"Basic defaults based on `tmap::tm_layout()` — add_layout","title":"Basic defaults based on `tmap::tm_layout()` — add_layout","text":"Basic defaults based `tmap::tm_layout()`","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_layout.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Basic defaults based on `tmap::tm_layout()` — add_layout","text":"","code":"add_layout( title = NULL, legend_position = c(0.02, 0.5), frame = FALSE, legend_frame = cols_reach(\"main_grey\"), legend_text_size = 0.6, legend_title_size = 0.8, title_size = 0.9, title_fontface = \"bold\", title_color = cols_reach(\"main_grey\"), fontfamily = \"Leelawadee\", ... )"},{"path":"https://gnoblet.github.io/visualizeR/reference/add_layout.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Basic defaults based on `tmap::tm_layout()` — add_layout","text":"title Map title. legend_position Legend position. map good start. frame Boolean. Legend frame? legend_frame Legend frame color. legend_text_size Legend text size 'pt'. legend_title_size Legend title size 'pt'. title_size Title text size 'pt'. title_fontface Title fontface. Bold wanna exemplify lot . title_color Title font color. fontfamily Overall fontfamily. Leelawadee precious. ... arguments pass `tmap::tm_layout()`.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_layout.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Basic defaults based on `tmap::tm_layout()` — add_layout","text":"tmap layer.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_scale_bar.html","id":null,"dir":"Reference","previous_headings":"","what":"Add a scale bar — add_scale_bar","title":"Add a scale bar — add_scale_bar","text":"Add scale bar","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_scale_bar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add a scale bar — add_scale_bar","text":"","code":"add_scale_bar( text_size = 0.6, position = c(\"left\", 0.01), color_dark = cols_reach(\"black\"), breaks = c(0, 50, 100), ... )"},{"path":"https://gnoblet.github.io/visualizeR/reference/add_scale_bar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add a scale bar — add_scale_bar","text":"text_size Relative font size. position Position compass. Vector two values, specifying x y coordinates. color_dark Color dark parts compass. breaks Breaks scale bar. specified, breaks automatically chosen given prefered width scale bar. Example: c(0, 50, 100). ... arguments pass `tmap::tm_compass()`.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/add_scale_bar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add a scale bar — add_scale_bar","text":"tmap layer.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/bar.html","id":null,"dir":"Reference","previous_headings":"","what":"Simple bar chart — bar","title":"Simple bar chart — bar","text":"Simple bar chart","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/bar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Simple bar chart — bar","text":"","code":"bar( df, x, y, group = NULL, flip = TRUE, percent = TRUE, position = \"dodge\", alpha = 1, x_title = NULL, y_title = NULL, group_title = NULL, title = NULL, subtitle = NULL, caption = NULL, add_text = FALSE, add_text_suffix = \"\", theme = theme_reach() )"},{"path":"https://gnoblet.github.io/visualizeR/reference/bar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Simple bar chart — bar","text":"df data frame. x numeric column. y character column coercible character column. group grouping categorical column, e.g. administrative areas population groups. flip TRUE FALSE. Default TRUE horizontal bar plot. percent TRUE FALSE. x-labels (text labels present) displayed percentages? Default TRUE. position chart stacked? Default \"dodge\". Can take \"dodge\" \"stack\". alpha Fill transparency. x_title x scale title. Default NULL. y_title y scale title. Default NULL. group_title group legend title. Default NULL. title Plot title. Default NULL. subtitle Plot subtitle. Default NULL. caption Plot caption. Default NULL. add_text TRUE FALSE. Add value text. add_text_suffix percent FALSE, add suffix text label? theme Whatever theme. Default theme_reach().","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/bar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Simple bar chart — bar","text":"bar chart","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/border_admin0.html","id":null,"dir":"Reference","previous_headings":"","what":"Haïti border. — border_admin0","title":"Haïti border. — border_admin0","text":"multiline shapefile Haiti's border.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/border_admin0.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Haïti border. — border_admin0","text":"","code":"border_admin0"},{"path":"https://gnoblet.github.io/visualizeR/reference/border_admin0.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Haïti border. — border_admin0","text":"sf multiline objet 1 feature 6 fields: fid_1 fid_1 uno uno count count x_coord x_coord y_coord y_coord area area geometry Multiline geometry.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/buffer_bbox.html","id":null,"dir":"Reference","previous_headings":"","what":"Bbbox buffer — buffer_bbox","title":"Bbbox buffer — buffer_bbox","text":"Bbbox buffer","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/buffer_bbox.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Bbbox buffer — buffer_bbox","text":"","code":"buffer_bbox(sf_obj, buffer = 0)"},{"path":"https://gnoblet.github.io/visualizeR/reference/buffer_bbox.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Bbbox buffer — buffer_bbox","text":"sf_obj `sf` object buffer buffer, either one value vector 4 values (left, bottom, right, top). Default 0.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/buffer_bbox.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Bbbox buffer — buffer_bbox","text":"bbox buffer","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/centroid_admin1.html","id":null,"dir":"Reference","previous_headings":"","what":"Haïti admin 1 centroids shapefile. — centroid_admin1","title":"Haïti admin 1 centroids shapefile. — centroid_admin1","text":"multipoint shapefile Haiti's admin 1.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/centroid_admin1.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Haïti admin 1 centroids shapefile. — centroid_admin1","text":"","code":"centroid_admin1"},{"path":"https://gnoblet.github.io/visualizeR/reference/centroid_admin1.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Haïti admin 1 centroids shapefile. — centroid_admin1","text":"sf multipoint object 10 features 9 fields: ADM1_PC Admin 1 postal code. ADM1_EN Full name English. ADM1_FR Full name French. ADM1_HT Full name Haitian Creole. ADM0_EN Country name English. ADM0_FR Country name French. ADM0_HT Country name Haitian Creole. ADM0_PC Country postal code. ADM1_FR_UPPER Admin 1 French name - uppercase. geometry Multipoint geometry.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_agora.html","id":null,"dir":"Reference","previous_headings":"","what":"Function to extract AGORA colors as hex codes — cols_agora","title":"Function to extract AGORA colors as hex codes — cols_agora","text":"Function extract AGORA colors hex codes","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_agora.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Function to extract AGORA colors as hex codes — cols_agora","text":"","code":"cols_agora(..., unnamed = TRUE)"},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_agora.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Function to extract AGORA colors as hex codes — cols_agora","text":"... Character names reach colors. NULL returns colors unnamed output vector unnamed? Default `TRUE`","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_agora.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Function to extract AGORA colors as hex codes — cols_agora","text":"hex code hex codes named unnamed","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_agora.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Function to extract AGORA colors as hex codes — cols_agora","text":"function needs modified add colors","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_impact.html","id":null,"dir":"Reference","previous_headings":"","what":"Function to extract IMPACT colors as hex codes — cols_impact","title":"Function to extract IMPACT colors as hex codes — cols_impact","text":"Function extract IMPACT colors hex codes","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_impact.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Function to extract IMPACT colors as hex codes — cols_impact","text":"","code":"cols_impact(..., unnamed = TRUE)"},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_impact.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Function to extract IMPACT colors as hex codes — cols_impact","text":"... Character names reach colors. NULL returns colors unnamed output vector unnamed? Default `TRUE`","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_impact.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Function to extract IMPACT colors as hex codes — cols_impact","text":"hex code hex codes named unnamed","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_impact.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Function to extract IMPACT colors as hex codes — cols_impact","text":"function needs modified add colors","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_reach.html","id":null,"dir":"Reference","previous_headings":"","what":"Function to extract REACH colors as hex codes — cols_reach","title":"Function to extract REACH colors as hex codes — cols_reach","text":"Function extract REACH colors hex codes","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_reach.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Function to extract REACH colors as hex codes — cols_reach","text":"","code":"cols_reach(..., unnamed = TRUE)"},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_reach.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Function to extract REACH colors as hex codes — cols_reach","text":"... Character names reach colors. NULL returns colors unnamed output vector unnamed? Default `TRUE`","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_reach.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Function to extract REACH colors as hex codes — cols_reach","text":"hex code hex codes named unnamed","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/cols_reach.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Function to extract REACH colors as hex codes — cols_reach","text":"function needs modified add colors","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/frontier_admin0.html","id":null,"dir":"Reference","previous_headings":"","what":"Haïti frontier with Dominican Republic. — frontier_admin0","title":"Haïti frontier with Dominican Republic. — frontier_admin0","text":"multiline shapefile Haiti's frontier Dominican Republic.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/frontier_admin0.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Haïti frontier with Dominican Republic. — frontier_admin0","text":"","code":"frontier_admin0"},{"path":"https://gnoblet.github.io/visualizeR/reference/frontier_admin0.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Haïti frontier with Dominican Republic. — frontier_admin0","text":"sf multipoint objet 4 features 8 fields: fid_1 fid_1 objectid objectid id id fromnode fromnode tonode tonode leftpolygo leftpolygo rightpolygo rightpolygo shape_leng shape_leng geometry Multiline geometry.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/if_not_in_stop.html","id":null,"dir":"Reference","previous_headings":"","what":"Stop statement ","title":"Stop statement ","text":"Stop statement \"colnames\" colnames","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/if_not_in_stop.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Stop statement ","text":"","code":"if_not_in_stop(.tbl, cols, df, arg = NULL)"},{"path":"https://gnoblet.github.io/visualizeR/reference/if_not_in_stop.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Stop statement ","text":".tbl tibble cols vector column names (quoted) df Provide tibble name character string arg Default NULL.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/if_not_in_stop.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Stop statement ","text":"stop statement","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/if_vec_not_in_stop.html","id":null,"dir":"Reference","previous_headings":"","what":"Stop statement ","title":"Stop statement ","text":"Stop statement \"vector\"","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/if_vec_not_in_stop.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Stop statement ","text":"","code":"if_vec_not_in_stop(vec, cols, vec_name, arg = NULL)"},{"path":"https://gnoblet.github.io/visualizeR/reference/if_vec_not_in_stop.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Stop statement ","text":"vec vector character strings cols set character strings vec_name Provide vector name character string arg Default NULL.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/if_vec_not_in_stop.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Stop statement ","text":"stop statement elements vec cols","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/indicator_admin1.html","id":null,"dir":"Reference","previous_headings":"","what":"Indicator admin 1 polygons shapefile. — indicator_admin1","title":"Indicator admin 1 polygons shapefile. — indicator_admin1","text":"multipolygon shapefile Haiti's admin 1 indicator column 'opn_dfc'.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/indicator_admin1.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Indicator admin 1 polygons shapefile. — indicator_admin1","text":"","code":"indicator_admin1"},{"path":"https://gnoblet.github.io/visualizeR/reference/indicator_admin1.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Indicator admin 1 polygons shapefile. — indicator_admin1","text":"sf multipoint object 10 features 10 fields: ADM1_PC Admin 1 postal code. admin1 Admin 1 unique id. opn_dfc Proportion HHs reported open defecation sanitation facility. ADM1_EN Full name English. ADM1_FR Full name French. ADM1_HT Full name Haitian Creole. ADM0_EN Country name English. ADM0_FR Country name French. ADM0_HT Country name Haitian Creole. ADM0_PC Country postal code. geometry Multipolygon geometry.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/line_admin1.html","id":null,"dir":"Reference","previous_headings":"","what":"Haïti admin 1 lines shapefile. — line_admin1","title":"Haïti admin 1 lines shapefile. — line_admin1","text":"multiline shapefile Haiti's admin 1.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/line_admin1.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Haïti admin 1 lines shapefile. — line_admin1","text":"","code":"line_admin1"},{"path":"https://gnoblet.github.io/visualizeR/reference/line_admin1.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Haïti admin 1 lines shapefile. — line_admin1","text":"sf multiline object 10 features 8 fields: ADM1_EN Full name English. ADM1_FR Full name French. ADM1_HT Full name Haitian Creole. ADM0_EN Country name English. ADM0_FR Country name French. ADM0_HT Country name Haitian Creole. ADM0_PCODE Country postal code. geometry Multiline geometry.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/pal_agora.html","id":null,"dir":"Reference","previous_headings":"","what":"Return function to interpolate an AGORA color palette — pal_agora","title":"Return function to interpolate an AGORA color palette — pal_agora","text":"Return function interpolate AGORA color palette","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/pal_agora.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return function to interpolate an AGORA color palette — pal_agora","text":"","code":"pal_agora( palette = \"main\", reverse = FALSE, color_ramp_palette = FALSE, show_palettes = FALSE, ... )"},{"path":"https://gnoblet.github.io/visualizeR/reference/pal_agora.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return function to interpolate an AGORA color palette — pal_agora","text":"palette Character name palette AGORA palettes reverse Boolean indicating whether palette reversed color_ramp_palette output `grDevices::colorRampPalette` function vector hex codes? Default former `TRUE` show_palettes ouput set palettes names pick ? Default `FALSE` ... Additional arguments pass colorRampPalette()","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/pal_agora.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return function to interpolate an AGORA color palette — pal_agora","text":"color palette","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/pal_impact.html","id":null,"dir":"Reference","previous_headings":"","what":"Return function to interpolate an IMPACT color palette — pal_impact","title":"Return function to interpolate an IMPACT color palette — pal_impact","text":"Return function interpolate IMPACT color palette","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/pal_impact.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return function to interpolate an IMPACT color palette — pal_impact","text":"","code":"pal_impact( palette = \"main\", reverse = FALSE, color_ramp_palette = FALSE, show_palettes = FALSE, ... )"},{"path":"https://gnoblet.github.io/visualizeR/reference/pal_impact.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return function to interpolate an IMPACT color palette — pal_impact","text":"palette Character name palette IMPACT palettes reverse Boolean indicating whether palette reversed color_ramp_palette output `grDevices::colorRampPalette` function vector hex codes? Default former `TRUE` show_palettes ouput set palettes names pick ? Default `FALSE` ... Additional arguments pass colorRampPalette()","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/pal_impact.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return function to interpolate an IMPACT color palette — pal_impact","text":"color palette","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/pal_reach.html","id":null,"dir":"Reference","previous_headings":"","what":"Return function to interpolate a REACH color palette — pal_reach","title":"Return function to interpolate a REACH color palette — pal_reach","text":"Return function interpolate REACH color palette","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/pal_reach.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return function to interpolate a REACH color palette — pal_reach","text":"","code":"pal_reach( palette = \"main\", reverse = FALSE, color_ramp_palette = FALSE, show_palettes = FALSE, ... )"},{"path":"https://gnoblet.github.io/visualizeR/reference/pal_reach.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return function to interpolate a REACH color palette — pal_reach","text":"palette Character name palette REACH palettes reverse Boolean indicating whether palette reversed color_ramp_palette output `grDevices::colorRampPalette` function vector hex codes? Default former `TRUE` show_palettes ouput set palettes names pick ? Default `FALSE` ... Additional arguments pass colorRampPalette()","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/pal_reach.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return function to interpolate a REACH color palette — pal_reach","text":"color palette","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/point.html","id":null,"dir":"Reference","previous_headings":"","what":"Simple bar chart — point","title":"Simple bar chart — point","text":"Simple bar chart","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/point.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Simple bar chart — point","text":"","code":"point( df, x, y, group = NULL, flip = TRUE, alpha = 1, size = 1, x_title = NULL, y_title = NULL, group_title = NULL, title = NULL, subtitle = NULL, caption = NULL, theme = theme_reach() )"},{"path":"https://gnoblet.github.io/visualizeR/reference/point.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Simple bar chart — point","text":"df data frame. x numeric column. y character column coercible character column. group grouping categorical column, e.g. administrative areas population groups. flip TRUE FALSE. Default TRUE horizontal bar plot. alpha Fill transparency. size Point size. x_title x scale title. Default NULL. y_title y scale title. Default NULL. group_title group legend title. Default NULL. title Plot title. Default NULL. subtitle Plot subtitle. Default NULL. caption Plot caption. Default NULL. theme Whatever theme. Default theme_reach().","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/point.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Simple bar chart — point","text":"bar chart","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/scale_color.html","id":null,"dir":"Reference","previous_headings":"","what":"Color scale constructor for REACH or AGORA colors — scale_color","title":"Color scale constructor for REACH or AGORA colors — scale_color","text":"Color scale constructor REACH AGORA colors","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/scale_color.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Color scale constructor for REACH or AGORA colors — scale_color","text":"","code":"scale_color( initiative = \"reach\", palette = \"main\", discrete = TRUE, reverse = FALSE, reverse_guide = TRUE, ... )"},{"path":"https://gnoblet.github.io/visualizeR/reference/scale_color.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Color scale constructor for REACH or AGORA colors — scale_color","text":"initiative Either \"reach\" \"agora. palette Palette name `pal_reach()` `pal_agora()`. discrete Boolean indicating whether color aesthetic discrete . reverse Boolean indicating whether palette reversed. reverse_guide Boolean indicating whether guide reversed. ... Additional arguments passed discrete_scale() scale_fill_gradient(), used respectively discrete TRUE FALSE.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/scale_color.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Color scale constructor for REACH or AGORA colors — scale_color","text":"color scale ggplot","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/scale_fill.html","id":null,"dir":"Reference","previous_headings":"","what":"Fill scale constructor for REACH or AGORA colors — scale_fill","title":"Fill scale constructor for REACH or AGORA colors — scale_fill","text":"Fill scale constructor REACH AGORA colors","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/scale_fill.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Fill scale constructor for REACH or AGORA colors — scale_fill","text":"","code":"scale_fill( initiative = \"reach\", palette = \"main\", discrete = TRUE, reverse = FALSE, reverse_guide = TRUE, ... )"},{"path":"https://gnoblet.github.io/visualizeR/reference/scale_fill.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Fill scale constructor for REACH or AGORA colors — scale_fill","text":"initiative Either \"reach\" \"agora. palette Palette name `pal_reach()` `pal_agora()`. discrete Boolean indicating whether color aesthetic discrete . reverse Boolean indicating whether palette reversed. reverse_guide Boolean indicating whether guide reversed. ... Additional arguments passed discrete_scale() scale_fill_gradient(), used respectively discrete TRUE FALSE.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/scale_fill.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Fill scale constructor for REACH or AGORA colors — scale_fill","text":"fill scale ggplot.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/subvec_not_in.html","id":null,"dir":"Reference","previous_headings":"","what":"Subvec not in — subvec_not_in","title":"Subvec not in — subvec_not_in","text":"Subvec ","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/subvec_not_in.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Subvec not in — subvec_not_in","text":"","code":"subvec_not_in(vector, set)"},{"path":"https://gnoblet.github.io/visualizeR/reference/subvec_not_in.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Subvec not in — subvec_not_in","text":"vector vector subset set set-vector","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/subvec_not_in.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Subvec not in — subvec_not_in","text":"subset vector set","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/theme_reach.html","id":null,"dir":"Reference","previous_headings":"","what":"ggplot2 theme with REACH color palettes — theme_reach","title":"ggplot2 theme with REACH color palettes — theme_reach","text":"Give reach colors fonts ggplot.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/theme_reach.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"ggplot2 theme with REACH color palettes — theme_reach","text":"","code":"theme_reach( palette = \"main\", discrete = TRUE, reverse = FALSE, font_family = \"Leelawadee\", title_size = 12, title_color = cols_reach(\"main_grey\"), title_font_face = \"bold\", text_size = 10, text_color = cols_reach(\"main_grey\"), text_font_face = \"bold\", panel_background_color = \"#FFFFFF\", legend_position = \"right\", legend_direction = \"vertical\", legend_reverse = TRUE, axis_x = TRUE, axis_y = TRUE, grid_x = FALSE, grid_y = FALSE, grid_color = cols_reach(\"main_lt_grey\"), grid_x_size = 0.1, grid_y_size = 0.1, ... )"},{"path":"https://gnoblet.github.io/visualizeR/reference/theme_reach.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"ggplot2 theme with REACH color palettes — theme_reach","text":"palette Palette name 'pal_reach()'. discrete Boolean indicating whether color aesthetic discrete . reverse Boolean indicating whether palette reversed. font_family font family plot's texts. Default \"Leelawadee\". title_size size title. Defaults 12. title_color Title color. title_font_face Title font face. Default \"bold\". Font face (\"plain\", \"italic\", \"bold\", \"bold.italic\"). text_size size text title, subtitle caption. Defaults 10. text_color Text color. text_font_face Text font face. Default \"bold\". Font face (\"plain\", \"italic\", \"bold\", \"bold.italic\"). panel_background_color color panel background color. Default white. legend_position Position legend; Default \"right\". Can take \"right\", \"left\", \"top\", \"bottom\" \"none\". legend_direction Direction legend. Default \"vertical\". Can take \"vertical\" \"horizontal\". legend_reverse Reverse color guide? Default TRUE. axis_x Boolean. need x-axis? axis_y Boolean. need y-axis? grid_x Boolean. need major grid lines x-axis? grid_y Boolean. need major grid lines y-axis? grid_color Grid lines color. grid_x_size X line size. grid_y_size Y line size. ... Additional arguments passed `ggplot2::gg_theme()`.","code":""},{"path":"https://gnoblet.github.io/visualizeR/reference/theme_reach.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"ggplot2 theme with REACH color palettes — theme_reach","text":"base REACH theme","code":""},{"path":"https://gnoblet.github.io/visualizeR/news/index.html","id":"visualizer-049000","dir":"Changelog","previous_headings":"","what":"visualizeR 0.4.9000","title":"visualizeR 0.4.9000","text":"Breaking changes: remove dependency ggblanket. Full rewrite theme_reach(). bar_reach now bar() theming passed argument theme default theme_reach(). point_reach now point() theming passed argument theme default theme_reach().","code":""},{"path":"https://gnoblet.github.io/visualizeR/news/index.html","id":"visualizer-039000","dir":"Changelog","previous_headings":"","what":"visualizeR 0.3.9000","title":"visualizeR 0.3.9000","text":"Breaking changes: update ggblanket v1.6.1. Add plotting functions indicator maps.","code":""},{"path":"https://gnoblet.github.io/visualizeR/news/index.html","id":"visualizer-029000","dir":"Changelog","previous_headings":"","what":"visualizeR 0.2.9000","title":"visualizeR 0.2.9000","text":"Breaking changes: almost functions got refinements, new functions, typically hbar() becomes bar_reach() point_reach() added. Following theme_reach() now used plotting functions. Add README.md.","code":""},{"path":"https://gnoblet.github.io/visualizeR/news/index.html","id":"visualizer-0179000","dir":"Changelog","previous_headings":"","what":"visualizeR 0.1.7.9000","title":"visualizeR 0.1.7.9000","text":"Fixed color palettes.","code":""},{"path":"https://gnoblet.github.io/visualizeR/news/index.html","id":"visualizer-0169000","dir":"Changelog","previous_headings":"","what":"visualizeR 0.1.6.9000","title":"visualizeR 0.1.6.9000","text":"IMPACT colors palettes added: function cols_impact() pal_impact(). Color palettes REACH added (2 7 continuous palettes) ; see updated cols_reach() pal_reach().","code":""},{"path":"https://gnoblet.github.io/visualizeR/news/index.html","id":"visualizer-0159000","dir":"Changelog","previous_headings":"","what":"visualizeR 0.1.5.9000","title":"visualizeR 0.1.5.9000","text":"Move simplevis successor ggblanket.","code":""},{"path":"https://gnoblet.github.io/visualizeR/news/index.html","id":"visualizer-0149000","dir":"Changelog","previous_headings":"","what":"visualizeR 0.1.4.9000","title":"visualizeR 0.1.4.9000","text":"hbar() gains new boolean argument reverse pass pal_reach() pal_agora(), indicating color palette reversed .","code":""},{"path":"https://gnoblet.github.io/visualizeR/news/index.html","id":"visualizer-0139000","dir":"Changelog","previous_headings":"","what":"visualizeR 0.1.3.9000","title":"visualizeR 0.1.3.9000","text":"Small change hbar(): removes error arg within simplevis::gg_hbar() call.","code":""},{"path":"https://gnoblet.github.io/visualizeR/news/index.html","id":"visualizer-0129000","dir":"Changelog","previous_headings":"","what":"visualizeR 0.1.2.9000","title":"visualizeR 0.1.2.9000","text":"duplicate scale_color() function, now scale_fill()","code":""},{"path":"https://gnoblet.github.io/visualizeR/news/index.html","id":"visualizer-0119000","dir":"Changelog","previous_headings":"","what":"visualizeR 0.1.1.9000","title":"visualizeR 0.1.1.9000","text":"Added two horizontal bar functions: hbar(), hbar_percent() (#3) Added internals check missing columns bad arguments (#3) Modified theme_reach() documentation Add buffer_bbox() function produce buffered bbox, e.g. use tmap","code":""},{"path":"https://gnoblet.github.io/visualizeR/news/index.html","id":"visualizer-010","dir":"Changelog","previous_headings":"","what":"visualizeR 0.1.0","title":"visualizeR 0.1.0","text":"Added NEWS.md file track changes package Initiate repo","code":""}]
|