├── .Rbuildignore ├── .github ├── .gitignore └── workflows │ └── R-CMD-check.yaml ├── .gitignore ├── DESCRIPTION ├── LICENSE ├── NAMESPACE ├── R ├── language_diversity.R ├── pre_post.R ├── spanish_vowels.R ├── spirantization.R └── vot.R ├── README.md ├── _pkgdown.yml ├── data-raw ├── create_language_diversity_data.R ├── create_pre_post_data.R ├── create_spirantization_data.R ├── create_vot_data.R └── create_vowel_data.R ├── data ├── language_diversity.rda ├── pre_post.rda ├── spanish_vowels.rda ├── spirantization.rda └── vot.rda ├── docs ├── 404.html ├── LICENSE-text.html ├── authors.html ├── bootstrap-toc.css ├── bootstrap-toc.js ├── docsearch.css ├── docsearch.js ├── index.html ├── link.svg ├── pkgdown.css ├── pkgdown.js ├── pkgdown.yml └── reference │ ├── index.html │ ├── language_diversity.html │ ├── pre_post.html │ ├── spanish_vowels.html │ ├── spirantization.html │ └── vot.html ├── man ├── language_diversity.Rd ├── pre_post.Rd ├── spanish_vowels.Rd ├── spirantization.Rd └── vot.Rd └── untidydata.Rproj /.Rbuildignore: -------------------------------------------------------------------------------- 1 | ^docs$ 2 | ^_pkgdown\.yml$ 3 | ^.*\.Rproj$ 4 | ^\.Rproj\.user$ 5 | ^data-raw$ 6 | ^pkgdown$ 7 | ^\.github$ 8 | ^README.Rmd 9 | -------------------------------------------------------------------------------- /.github/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | -------------------------------------------------------------------------------- /.github/workflows/R-CMD-check.yaml: -------------------------------------------------------------------------------- 1 | # For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. 2 | # https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions 3 | on: 4 | push: 5 | branches: 6 | - main 7 | - master 8 | pull_request: 9 | branches: 10 | - main 11 | - master 12 | 13 | name: R-CMD-check 14 | 15 | jobs: 16 | R-CMD-check: 17 | runs-on: macOS-latest 18 | env: 19 | GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} 20 | steps: 21 | - uses: actions/checkout@v2 22 | - uses: r-lib/actions/setup-r@v1 23 | - name: Install dependencies 24 | run: | 25 | install.packages(c("remotes", "rcmdcheck")) 26 | remotes::install_deps(dependencies = TRUE) 27 | shell: Rscript {0} 28 | - name: Check 29 | run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error") 30 | shell: Rscript {0} 31 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .Rproj.user 2 | .Rhistory 3 | .RData 4 | README.Rmd 5 | 6 | .DS_Store 7 | -------------------------------------------------------------------------------- /DESCRIPTION: -------------------------------------------------------------------------------- 1 | Package: untidydata 2 | Title: Untidy datasets for practicing the tidyverse 3 | Version: 0.1.1 4 | Authors@R: c( 5 | person("Joseph Vincent", "Casillas", , "joseph.casillas@rutgers.edu", role = c("aut", "cre"), 6 | comment = c(ORCID = "0000-0001-8735-9910"))) 7 | Description: The untidydata package supplies a series of untidy datasets meant to aid in teaching R. 8 | Depends: R (>= 3.0) 9 | License: GPL-3 + file LICENSE 10 | Encoding: UTF-8 11 | LazyData: true 12 | RoxygenNote: 7.1.1 13 | URL: https://www.jvcasillas.com/untidydata/, https://github.com/jvcasillas/untidydata 14 | BugReports: https://github.com/jvcasillas/untidydata/issues 15 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- 1 | # Generated by roxygen2: do not edit by hand 2 | 3 | -------------------------------------------------------------------------------- /R/language_diversity.R: -------------------------------------------------------------------------------- 1 | #' Language diversity data from Nettle (1998). 2 | #' 3 | #' A long-form dataset containing language diversity observations from Nettle 4 | #' (1998). The data attempt to explain global patterns of language diversity 5 | #' and are most useful in wide format. 6 | #' 7 | #' Nettle, D. (1998). Explaining Global Patterns of Language Diversity. 8 | #' Journal of Anthropological Archaeology, 17, 354–374. 9 | #' 10 | #' @format A data frame with 444 rows and 4 variables: 11 | #' \describe{ 12 | #' \item{Continent}{continent lables} 13 | #' \item{Country}{country labels} 14 | #' \item{Measurement}{global pattern measures} 15 | #' \item{Value}{values of measurements} 16 | #' } 17 | #' @source \url{https://github.com/jvcasillas/untidydata} 18 | "language_diversity" 19 | -------------------------------------------------------------------------------- /R/pre_post.R: -------------------------------------------------------------------------------- 1 | #' Pre/post test data from two populations. 2 | #' 3 | #' A simulated dataset containing untidy test scores in percents 4 | #' from two groups. This data was simulated in R for 5 | #' teaching purposes. 6 | #' 7 | #' 8 | #' @format A data frame with 16 rows and 4 variables: 9 | #' \describe{ 10 | #' \item{id}{subject id labels, language label} 11 | #' \item{spec}{two grouping variables separated by underscores} 12 | #' \item{test1}{scores from pre-test} 13 | #' \item{test2}{scores from post-test} 14 | #' } 15 | #' @source \url{https://github.com/jvcasillas/untidydata} 16 | "pre_post" 17 | -------------------------------------------------------------------------------- /R/spanish_vowels.R: -------------------------------------------------------------------------------- 1 | #' Formant frequencies of Spanish vowels. 2 | #' 3 | #' A simulated dataset containing raw f1/f2 for the 5 Spanish 4 | #' vowels from male and female native speakers. 5 | #' 6 | #' 7 | #' 8 | #' @format A data frame with 750 rows and 6 variables: 9 | #' \describe{ 10 | #' \item{label}{subject id, gender, vowel} 11 | #' \item{rep}{iteration of item} 12 | #' \item{f1}{f1 values, in hz} 13 | #' \item{f2}{f2 values, in hz} 14 | #' } 15 | #' @source \url{https://github.com/jvcasillas/untidydata} 16 | "spanish_vowels" 17 | -------------------------------------------------------------------------------- /R/spirantization.R: -------------------------------------------------------------------------------- 1 | #' Spanish consonant and vowel intensity measurements. 2 | #' 3 | #' A simulated dataset containing intensity measurements from a word 4 | #' initial or intervocalic obstruent-vowel sequence for two learner 5 | #' groups and native Spanish speakers. 6 | #' 7 | #' 8 | #' @format A data frame with 16 rows and 4 variables: 9 | #' \describe{ 10 | #' \item{id}{subject id and proficiency label} 11 | #' \item{position}{word initial or intervocalic position} 12 | #' \item{cIntensity}{intensity in dB from obstruent} 13 | #' \item{vIntensity}{intensity in dB from following vowel} 14 | #' } 15 | #' @source \url{https://github.com/jvcasillas/untidydata} 16 | "spirantization" 17 | -------------------------------------------------------------------------------- /R/vot.R: -------------------------------------------------------------------------------- 1 | #' Voice onset time data from three populations. 2 | #' 3 | #' A dataset containing raw voice onset time (VOT) data in ms 4 | #' from three groups. This data was simulated in R based off 5 | #' the data set used in Casillas, Diaz, & Simonet (2015). 6 | #' 7 | #' Casillas, J. V., Diaz, Y. and Simonet, M. (2015). "Acoustics of 8 | #' Spanish and English coronal stops". In ICPhS 18. Ed. by T. S. C. 9 | #' for ICPhS 2015. Proceedings of the 18th International Congress 10 | #' of Phonetic Sciences. University of Glasgow: Glasgow. 11 | #' http://www.icphs2015.info, ISSN: 241-0669, pp. 1-5. 12 | #' 13 | #' @format A data frame with 720 rows and 5 variables: 14 | #' \describe{ 15 | #' \item{participant}{subject id labels} 16 | #' \item{language}{language spoken, spanish/english} 17 | #' \item{item}{target word} 18 | #' \item{repetition}{iteration of item} 19 | #' \item{vot}{vot values, in ms} 20 | #' } 21 | #' @source \url{https://github.com/jvcasillas/untidydata} 22 | "vot" 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | [![R-CMD-check](https://github.com/jvcasillas/untidydata/workflows/R-CMD-check/badge.svg)](https://github.com/jvcasillas/untidydata/actions) 5 | [![CodeFactor](https://www.codefactor.io/repository/github/jvcasillas/untidydata/badge)](https://www.codefactor.io/repository/github/jvcasillas/untidydata) 6 | 7 | 8 | ## untidydata 9 | 10 | An R package of untidy datasets made for the purpose of teaching the 11 | tidyverse. 12 | 13 | Last update: 2021-01-27 14 | 15 | ### Overview 16 | 17 | The purpose of this package is to store untidy datasets I have been 18 | creating for teaching purposes in a version controlled environment. The 19 | datasets vary in difficulty and present different problems common when 20 | tidying data. 21 | 22 | ### Installation 23 | 24 | You can install the development version from GitHub with: 25 | 26 | install.packages("devtools") 27 | devtools::install_github("jvcasillas/untidydata") 28 | 29 | ### Datasets 30 | 31 | - [language\_diversity](#language_diversity) 32 | - [pre\_post](#pre_post) 33 | - [spanish\_vowels](#spanish_vowels) 34 | - [spirantization](#spirantization) 35 | - [vot](#vot) 36 | 37 | #### `language_diversity` 38 | 39 | - Difficulty: easy 40 | - A long format dataset that is most useful in wide format. 41 | - Data taken from Appendix 1 in: 42 | Nettle, D. (1998). Explaining Global Patterns of Language Diversity. 43 | *Journal of Anthropological Archaeology*, 17, 354–374. 44 | 45 | #### `pre_post` 46 | 47 | - Difficulty: easy 48 | - A typical pre-test, post-test data set in wide format. 49 | 50 | #### `spanish_vowels` 51 | 52 | - Difficulty: easy 53 | - Simulated Spanish vowel formant measurements from male and female 54 | speakers. 55 | 56 | #### `spirantization` 57 | 58 | - Difficulty: easy 59 | - Simulated intensity measurements of CV sequences in word initial and 60 | word medial position from L2 learners and native speakers. 61 | 62 | #### `vot` 63 | 64 | - Difficulty: medium 65 | - A voice-onset time data set. Includes coronal stop data from English 66 | and Spanish monolinguals, as well as English/Spanish bilinguals. 67 | -------------------------------------------------------------------------------- /_pkgdown.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvcasillas/untidydata/b6e18a8a5180cb55b5c94bddd0f2143f8678c4b2/_pkgdown.yml -------------------------------------------------------------------------------- /data-raw/create_language_diversity_data.R: -------------------------------------------------------------------------------- 1 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 2 | # Create data for untidydata package to be used to for R tutorials # 3 | # by # 4 | # Joseph V. Casillas (11/29/2016) # 5 | # - Updated 02/16/2018 # 6 | # # 7 | # # 8 | # Data # 9 | # - language_diversity # 10 | # - Data from: # 11 | # Nettle, D. (1998). Explaining Global Patterns of Language Diversity. # 12 | # Journal of Anthropological Archaeology, 17, 354–374. # 13 | # - Variables: # 14 | # - Continent: Character variable of continents # 15 | # - Country: Character variable of countries # 16 | # - Measurement: Character variable of distinct measurements # 17 | # - Value: Double variable of measurement values # 18 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 19 | 20 | 21 | library(tidyverse) 22 | 23 | language_diversity <- tribble( 24 | ~"Country", ~"Langs", ~"Area", ~"Population", ~"Stations", ~"MGS", ~"Std", ~"Continent", 25 | "Algeria",18,2381741,25660,102,6.6,2.29,"Africa", 26 | "Angola",42,1246700,10303,50,6.22,1.87,"Africa", 27 | "Australia",234,7713364,17336,134,6,4.17,"Oceania", 28 | "Bangladesh",37,143998,118745,20,7.4,0.73,"Asia", 29 | "Benin",52,112622,4889,7,7.14,0.99,"Africa", 30 | "Bolivia",38,1098581,7612,48,6.92,2.5,"Americas", 31 | "Botswana",27,581730,1348,10,4.6,1.69,"Africa", 32 | "Brazil",209,8511965,153322,245,9.71,5.87,"Americas", 33 | "Burkina Faso",75,274000,9242,6,5.17,1.07,"Africa", 34 | "CAR",94,622984,3127,13,8.08,1.21,"Africa", 35 | "Cambodia",18,181035,8442,9,8.44,0.5,"Asia", 36 | "Cameroon",275,475422,12239,35,9.17,1.75,"Africa", 37 | "Chad",126,1284000,5819,11,4,1.81,"Africa", 38 | "Colombia",79,1138914,33613,35,11.37,1.37,"Americas", 39 | "Congo",60,342000,2346,10,9.6,1.69,"Africa", 40 | "Costa Rica",10,51100,3064,38,8.92,1.78,"Americas", 41 | "Cote d'Ivoire",75,322463,12464,9,8.67,1.25,"Africa", 42 | "Cuba",1,110861,10736,13,7.46,1.55,"Americas", 43 | "Ecuador",22,283561,10851,44,8.14,3.47,"Americas", 44 | "Egypt",11,1001449,54688,50,0.89,0.89,"Africa", 45 | "Ethiopia",112,1221900,53383,36,7.28,3.1,"Africa", 46 | "French Guiana",11,90000,102,5,10.4,0.8,"Americas", 47 | "Gabon",40,267667,1212,14,8.79,0.77,"Africa", 48 | "Ghana",73,238553,15509,28,8.79,1.68,"Africa", 49 | "Guatemala",52,108889,9467,59,9.31,2.23,"Americas", 50 | "Guinea",29,245857,5931,8,7.38,1.22,"Africa", 51 | "Guyana",14,214969,800,5,12,0,"Americas", 52 | "Honduras",9,112088,5265,13,8.54,2.53,"Americas", 53 | "India",405,3287590,849638,218,5.32,1.92,"Asia", 54 | "Indonesia",701,1904569,187765,58,10.67,1.82,"Asia", 55 | "Kenya",58,580367,25905,34,7.26,3.61,"Africa", 56 | "Laos",93,236800,4262,7,7.14,0.35,"Asia", 57 | "Liberia",34,111369,2705,21,10.62,0.84,"Africa", 58 | "Libya",13,1759540,4712,54,2.43,1.6,"Africa", 59 | "Madagascar",4,587041,11493,81,7.33,2.96,"Africa", 60 | "Malawi",14,118484,8556,20,5.8,1.5,"Africa", 61 | "Malaysia",140,329749,18333,63,11.92,0.37,"Asia", 62 | "Mali",31,1240192,9507,17,3.59,1.97,"Africa", 63 | "Mauritania",8,1025520,2036,8,0.75,0.83,"Africa", 64 | "Mexico",243,1958201,87836,272,5.84,2.69,"Americas", 65 | "Mozambique",36,801590,16084,90,6.07,1.39,"Africa", 66 | "Myanmar",105,676578,42561,30,6.93,0.81,"Asia", 67 | "Namibia",21,824292,1837,6,2.5,1.89,"Africa", 68 | "Nepal",102,140797,19605,16,6.39,1.98,"Asia", 69 | "Nicaragua",7,130000,3999,8,8.13,2.15,"Americas", 70 | "Niger",21,1267000,7984,10,2.4,1.28,"Africa", 71 | "Nigeria",427,923768,112163,24,7,2.16,"Africa", 72 | "Oman",8,212457,1559,2,0,0,"Asia", 73 | "Panama",13,75517,2466,5,9.2,0.75,"Americas", 74 | "Papua New Guinea",862,462840,3772,8,10.88,1.96,"Oceania", 75 | "Paraguay",21,406752,4397,16,10.25,2.51,"Americas", 76 | "Peru",91,1285216,21998,40,2.65,4.22,"Americas", 77 | "Phillipines",168,300000,62868,64,10.34,1.92,"Asia", 78 | "Saudi Arabia",8,2149690,14691,10,0.4,0.92,"Asia", 79 | "Senegal",42,196722,7533,12,3.58,1.11,"Africa", 80 | "Sierra Leone",23,71740,4260,23,8.22,0.59,"Africa", 81 | "Solomon Islands",66,28896,3301,1,12,0,"Oceania", 82 | "Somalia",14,637657,7691,28,3,1.69,"Africa", 83 | "South Africa",32,1221037,36070,114,6.05,3.5,"Africa", 84 | "Sri Lanka",7,65610,17240,17,9.59,2.59,"Asia", 85 | "Sudan",134,2505813,25941,43,4.02,2.82,"Africa", 86 | "Suriname",17,163265,429,2,12,0,"Americas", 87 | "Tanzania",131,945087,28359,45,7.02,1.9,"Africa", 88 | "Thailand",82,513115,56293,54,8.04,1.57,"Asia", 89 | "Togo",43,56785,3643,11,7.91,1.78,"Africa", 90 | "UAE",9,83600,1629,6,0.83,0.69,"Asia", 91 | "Uganda",43,235880,19517,21,10.14,1.17,"Africa", 92 | "Vanuatu",111,12189,163,4,12,0,"Oceania", 93 | "Venezuela",40,912050,20226,44,7.98,2.73,"Americas", 94 | "Vietnam",88,331689,68183,40,8.8,1.59,"Asia", 95 | "Yemen",6,527968,12302,2,0,0,"Asia", 96 | "Zaire",219,2344858,36672,16,9.44,1.9,"Africa", 97 | "Zambia",38,752618,8780,30,5.43,0.67,"Africa", 98 | "Zimbabwe",18,390759,10019,52,5.29,1.43,"Africa") %>% 99 | gather(., Measurement, Value, -Country, -Continent) %>% 100 | select(., Continent, Country, Measurement, Value) 101 | 102 | devtools::use_data(language_diversity, overwrite = TRUE) 103 | -------------------------------------------------------------------------------- /data-raw/create_pre_post_data.R: -------------------------------------------------------------------------------- 1 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 2 | # Create data for untidydata package to be used to for R tutorials # 3 | # by # 4 | # Joseph V. Casillas (11/29/2016) # 5 | # - Updated 02/16/2018 # 6 | # # 7 | # # 8 | # Data # 9 | # - pre_post # 10 | # - a data frame with pre- and post- test scores data from spanish and # 11 | # catalan speakers # 12 | # - variables # 13 | # - id: FACTOR, subject id # 14 | # - spec: FACTOR, g1_lo/g1_hi/g2_lo/g2_hi # 15 | # - test1: NUMERIC, percent # 16 | # - test2: NUMERIC, percent # 17 | # # 18 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 19 | 20 | library(tidyverse) 21 | 22 | pre_post <- tribble( 23 | ~'id', ~'spec', ~'test1', ~'test2', 24 | 'span01', 'g1_lo', 64.31, 69.2, 25 | 'span02', 'g1_lo', 59.81, 63.7, 26 | 'span03', 'g1_hi', 66.08, 70.9, 27 | 'span04', 'g1_hi', 72.78, 79.2, 28 | 'span05', 'g2_lo', 68.29, 75.4, 29 | 'span06', 'g2_lo', 69.22, 76.7, 30 | 'span07', 'g2_hi', 71.36, 77.2, 31 | 'span08', 'g2_hi', 80.37, 88.9, 32 | 'cata01', 'g1_lo', 75.63, 83.6, 33 | 'cata02', 'g1_lo', 71.25, 78.8, 34 | 'cata03', 'g1_hi', 69.09, 74.6, 35 | 'cata04', 'g1_hi', 72.35, 80.7, 36 | 'cata05', 'g2_lo', 71.66, 77.9, 37 | 'cata06', 'g2_lo', 69.01, 75.0, 38 | 'cata07', 'g2_hi', 69.86, 76.0, 39 | 'cata08', 'g2_hi', 77.34, 85.6 40 | ) 41 | 42 | devtools::use_data(pre_post, overwrite = TRUE) 43 | -------------------------------------------------------------------------------- /data-raw/create_spirantization_data.R: -------------------------------------------------------------------------------- 1 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 2 | # Create data for untidydata package to be used to for R tutorials # 3 | # by # 4 | # Joseph V. Casillas (11/29/2016) # 5 | # - Updated 02/16/2018 # 6 | # # 7 | # # 8 | # Data # 9 | # - spriantization # 10 | # - Variables: # 11 | # - Continent: Character variable of continents # 12 | # - Country: Character variable of countries # 13 | # - Measurement: Character variable of distinct measurements # 14 | # - Value: Double variable of measurement values # 15 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 16 | 17 | library(tidyverse) 18 | 19 | # First we set the seed for reproducibility 20 | set.seed(1) 21 | 22 | # Create labels and set up constants 23 | n <- 15 24 | 25 | temp <- expand.grid(id = c(sprintf("beg_%02d", 1:n), 26 | sprintf("adv_%02d", 1:n), 27 | sprintf("nat_%02d", 1:n)), 28 | position = c("initial", "vcv")) 29 | 30 | # Generate intensity values for consonant and following vowel 31 | cIntensity = c(rnorm(n = n, mean = 60, sd = 2), # beg in initial position 32 | rnorm(n = n, mean = 60, sd = 2), # adv in initial position 33 | rnorm(n = n, mean = 60, sd = 2), # nat in initial position 34 | rnorm(n = n, mean = 60, sd = 2), # beg in vcv position 35 | rnorm(n = n, mean = 64, sd = 2), # adv in vcv position 36 | rnorm(n = n, mean = 70, sd = 2)) # nat in vcv position 37 | 38 | vIntensity = c(rnorm(n = n, mean = 80, sd = 2), # adv in initial position 39 | rnorm(n = n, mean = 80, sd = 2), # adv in vcv position 40 | rnorm(n = n, mean = 80, sd = 2), # beg in initial position 41 | rnorm(n = n, mean = 80, sd = 2), # beg in vcv position 42 | rnorm(n = n, mean = 80, sd = 2), # nat in initial position 43 | rnorm(n = n, mean = 80, sd = 2)) # nat in vcv position 44 | 45 | temp$cIntensity <- cIntensity 46 | temp$vIntensity <- vIntensity 47 | 48 | spirantization <- temp 49 | 50 | devtools::use_data(spirantization, overwrite = TRUE) 51 | -------------------------------------------------------------------------------- /data-raw/create_vot_data.R: -------------------------------------------------------------------------------- 1 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 2 | # Create data for untidydata package to be used to for R tutorials # 3 | # by # 4 | # Joseph V. Casillas (11/29/2016) # 5 | # - Updated 02/16/2018 # 6 | # - Updated 03/04/2020: fix "repetition" typo # 7 | # # 8 | # # 9 | # Data # 10 | # - vot # 11 | # - a data frame with voice onset time data from bilinguals and # 12 | # monolinguals # 13 | # - data simulated in English and Spanish for coronal stops # 14 | # - variables # 15 | # - participant: FACTOR, subject id # 16 | # - language: FACTOR, spanish, english # 17 | # - item: FACTOR, word label # 18 | # - repetition: NUMERIC, 1-3 # 19 | # - vot: NUMERIC, in ms # 20 | # # 21 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 22 | 23 | library(tidyverse) 24 | 25 | 26 | ####### 27 | # VOT # 28 | ####### 29 | 30 | # Create participant IDs 31 | monoSp <- paste0('monoSp0', 0:9) 32 | monoEn <- paste0('monoEn0', 0:9) 33 | bi <- paste0('biling0', 0:9) 34 | 35 | # Create participant vector 36 | participant <- c(monoSp, monoEn, bi) 37 | 38 | # Create language factor 39 | language <- c('spanish', 'english') 40 | 41 | # Create item vector 42 | itemEn <- c('dig', 'dog', 'dug', 'tag', 'tug', 'tog') 43 | itemSp <- c('di', 'da', 'de', 'ti', 'te', 'tu') 44 | 45 | # Create repition 46 | repetition <- 3 47 | 48 | 49 | 50 | # create monoSp dataframe 51 | dfMonoSp <- tibble( 52 | 53 | # create 'participant', 'language' and 'item' variables 54 | participant = sort(rep(monoSp, times = length(itemEn) * repetition)), 55 | language = rep(language[1], times = length(itemSp) * repetition * length(monoSp)), 56 | item = rep(itemSp, each = 1, times = repetition * length(monoSp))) %>% 57 | 58 | # Add repetition variable 59 | group_by(participant, item) %>% 60 | mutate(., repetition = seq_along(item)) %>% 61 | 62 | # Arrange items in alphabetical order 63 | arrange(., item) %>% 64 | ungroup(.) %>% 65 | 66 | # Add VOT values 67 | mutate(., vot = c(rnorm(n = 90, mean = -60, sd = 10), 68 | rnorm(n = 90, mean = 12, sd = 7)) %>% round(., 2)) %>% 69 | 70 | # arrange by participant 71 | arrange(., participant) 72 | 73 | 74 | 75 | 76 | 77 | 78 | # create monoEn data 79 | dfMonoEn <- tibble( 80 | 81 | # create 'participant', 'language' and 'item' variables 82 | participant = sort(rep(monoEn, times = length(itemEn) * repetition)), 83 | language = rep(language[2], times = length(itemEn) * repetition * length(monoEn)), 84 | item = rep(itemEn, each = 1, times = repetition * length(monoEn))) %>% 85 | 86 | # Add repetition variable 87 | group_by(participant, item) %>% 88 | mutate(., repetition = seq_along(item)) %>% 89 | 90 | # Arrange items in alphabetical order 91 | arrange(., item) %>% 92 | ungroup(.) %>% 93 | 94 | # Add VOT values 95 | mutate(., vot = c(rnorm(n = 90, mean = 15, sd = 7), 96 | rnorm(n = 90, mean = 55, sd = 10)) %>% round(., 2)) %>% 97 | 98 | # arrange by participant 99 | arrange(., participant) 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | # create bi data 108 | dfbi <- tibble( 109 | 110 | 111 | participant = rep(bi, each = length(itemSp) * repetition, times = length(language)), 112 | language = sort(rep(language, times = length(bi) * length(itemSp) * repetition)), 113 | item = c(rep(itemEn, each = 1, times = repetition * length(bi)), 114 | rep(itemSp, each = 1, times = repetition * length(bi)))) %>% 115 | 116 | # Add repition variable 117 | group_by(., participant, language, item) %>% 118 | mutate(., repetition = seq_along(item)) %>% 119 | 120 | # Arrange df so that items are in alphabetical order 121 | arrange(., language, item) %>% 122 | ungroup(.) %>% 123 | 124 | # Add vals to data frame 125 | mutate(., vot = c(rnorm(n = 90, mean = 15, sd = 7), 126 | rnorm(n = 90, mean = 45, sd = 15), 127 | rnorm(n = 90, mean = -60, sd = 10), 128 | rnorm(n = 90, mean = 10, sd = 10)) %>% round(., 2)) %>% 129 | 130 | # arrange by participant 131 | arrange(., participant, language) 132 | 133 | 134 | vot <- bind_rows(dfMonoSp, dfMonoEn, dfbi) 135 | 136 | usethis::use_data(vot, overwrite = TRUE) 137 | -------------------------------------------------------------------------------- /data-raw/create_vowel_data.R: -------------------------------------------------------------------------------- 1 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 2 | # Create data for untidydata package to be used to for R tutorials # 3 | # by # 4 | # Joseph V. Casillas (11/29/2016) # 5 | # - Updated 02/16/2018 # 6 | # # 7 | # # 8 | # Data # # 9 | # - vowel_data # # 10 | # - Vowel data frame based on data from Bradlow (1995) # 11 | # - Extended from 4 participants to 50 # 12 | # - variables # 13 | # - label # 14 | # - rep # 15 | # - f1 # 16 | # - f2 # 17 | # # 18 | #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# 19 | 20 | library(tidyverse) 21 | 22 | ############## 23 | # VOWEL DATA # 24 | ############## 25 | 26 | # Vowel data frame based on data from Bradlow (1995) 27 | # Extended from 4 participants to 50 28 | 29 | # Vowel data frame 30 | set.seed(1) 31 | f1 <- c( 32 | rnorm(n = 75, mean = 638, sd = 36), # male a 33 | rnorm(n = 75, mean = 738, sd = 36), # female a 34 | rnorm(n = 75, mean = 458, sd = 42), # male e 35 | rnorm(n = 75, mean = 558, sd = 42), # female e 36 | rnorm(n = 75, mean = 286, sd = 26), # male i 37 | rnorm(n = 75, mean = 386, sd = 26), # female i 38 | rnorm(n = 75, mean = 460, sd = 19), # male o 39 | rnorm(n = 75, mean = 560, sd = 19), # female o 40 | rnorm(n = 75, mean = 322, sd = 20), # male u 41 | rnorm(n = 75, mean = 422, sd = 20) # female u 42 | ) 43 | 44 | f2 <- c( 45 | rnorm(n = 75, mean = 1353, sd = 84), # male a 46 | rnorm(n = 75, mean = 1653, sd = 84), # female a 47 | rnorm(n = 75, mean = 1814, sd = 131), # male e 48 | rnorm(n = 75, mean = 2114, sd = 131), # female e 49 | rnorm(n = 75, mean = 2147, sd = 131), # male i 50 | rnorm(n = 75, mean = 2447, sd = 131), # female i 51 | rnorm(n = 75, mean = 1019, sd = 99), # male o 52 | rnorm(n = 75, mean = 1319, sd = 99), # female o 53 | rnorm(n = 75, mean = 992, sd = 121), # male u 54 | rnorm(n = 75, mean = 1292, sd = 121) # female u 55 | ) 56 | 57 | # Create vector of 5 vowels, repeat x3 for each participant 58 | vowel <- rep(c('i', 'e', 'a', 'o', 'u'), each = 150) 59 | 60 | # Create data frame 61 | vowels_df <- data.frame(vowel) 62 | 63 | # Add gender factor 64 | vowels_df$gender <- rep(c('male', 'female'), each = 75, 5) 65 | 66 | # Create vector of 50 participants 67 | participant <- rep(sprintf("p%02d", 1:50), each = 3, times = 5) 68 | 69 | spanish_vowels <- vowels_df %>% 70 | arrange(., vowel, desc(gender)) %>% 71 | mutate(., participant = participant, 72 | f1 = f1, 73 | f2 = f2) %>% 74 | arrange(., participant, vowel) %>% 75 | group_by(., participant, vowel) %>% 76 | mutate(., rep = seq_along(vowel)) %>% 77 | select(., participant, gender, vowel, rep, f1, f2) %>% 78 | ungroup(.) %>% 79 | unite(., vowel, gender, vowel, sep = "-") %>% 80 | unite(., label, participant, vowel, sep = "-") 81 | 82 | devtools::use_data(spanish_vowels, overwrite = TRUE) 83 | 84 | 85 | -------------------------------------------------------------------------------- /data/language_diversity.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvcasillas/untidydata/b6e18a8a5180cb55b5c94bddd0f2143f8678c4b2/data/language_diversity.rda -------------------------------------------------------------------------------- /data/pre_post.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvcasillas/untidydata/b6e18a8a5180cb55b5c94bddd0f2143f8678c4b2/data/pre_post.rda -------------------------------------------------------------------------------- /data/spanish_vowels.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvcasillas/untidydata/b6e18a8a5180cb55b5c94bddd0f2143f8678c4b2/data/spanish_vowels.rda -------------------------------------------------------------------------------- /data/spirantization.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvcasillas/untidydata/b6e18a8a5180cb55b5c94bddd0f2143f8678c4b2/data/spirantization.rda -------------------------------------------------------------------------------- /data/vot.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jvcasillas/untidydata/b6e18a8a5180cb55b5c94bddd0f2143f8678c4b2/data/vot.rda -------------------------------------------------------------------------------- /docs/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Page not found (404) • untidydata 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 55 | 56 | 57 | 58 | 59 | 60 | 61 |
62 |
63 | 102 | 103 | 104 | 105 |
106 | 107 |
108 |
109 | 112 | 113 | Content not found. Please use links in the navbar. 114 | 115 |
116 | 117 | 122 | 123 |
124 | 125 | 126 | 127 |
128 | 131 | 132 |
133 |

Site built with pkgdown 1.6.1.

134 |
135 | 136 |
137 |
138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | -------------------------------------------------------------------------------- /docs/LICENSE-text.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | License • untidydata 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 55 | 56 | 57 | 58 | 59 | 60 | 61 |
62 |
63 | 102 | 103 | 104 | 105 |
106 | 107 |
108 |
109 | 112 | 113 |
                    GNU GENERAL PUBLIC LICENSE
114 |                        Version 3, 29 June 2007
115 | 
116 |  Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
117 |  Everyone is permitted to copy and distribute verbatim copies
118 |  of this license document, but changing it is not allowed.
119 | 
120 |                             Preamble
121 | 
122 |   The GNU General Public License is a free, copyleft license for
123 | software and other kinds of works.
124 | 
125 |   The licenses for most software and other practical works are designed
126 | to take away your freedom to share and change the works.  By contrast,
127 | the GNU General Public License is intended to guarantee your freedom to
128 | share and change all versions of a program--to make sure it remains free
129 | software for all its users.  We, the Free Software Foundation, use the
130 | GNU General Public License for most of our software; it applies also to
131 | any other work released this way by its authors.  You can apply it to
132 | your programs, too.
133 | 
134 |   When we speak of free software, we are referring to freedom, not
135 | price.  Our General Public Licenses are designed to make sure that you
136 | have the freedom to distribute copies of free software (and charge for
137 | them if you wish), that you receive source code or can get it if you
138 | want it, that you can change the software or use pieces of it in new
139 | free programs, and that you know you can do these things.
140 | 
141 |   To protect your rights, we need to prevent others from denying you
142 | these rights or asking you to surrender the rights.  Therefore, you have
143 | certain responsibilities if you distribute copies of the software, or if
144 | you modify it: responsibilities to respect the freedom of others.
145 | 
146 |   For example, if you distribute copies of such a program, whether
147 | gratis or for a fee, you must pass on to the recipients the same
148 | freedoms that you received.  You must make sure that they, too, receive
149 | or can get the source code.  And you must show them these terms so they
150 | know their rights.
151 | 
152 |   Developers that use the GNU GPL protect your rights with two steps:
153 | (1) assert copyright on the software, and (2) offer you this License
154 | giving you legal permission to copy, distribute and/or modify it.
155 | 
156 |   For the developers' and authors' protection, the GPL clearly explains
157 | that there is no warranty for this free software.  For both users' and
158 | authors' sake, the GPL requires that modified versions be marked as
159 | changed, so that their problems will not be attributed erroneously to
160 | authors of previous versions.
161 | 
162 |   Some devices are designed to deny users access to install or run
163 | modified versions of the software inside them, although the manufacturer
164 | can do so.  This is fundamentally incompatible with the aim of
165 | protecting users' freedom to change the software.  The systematic
166 | pattern of such abuse occurs in the area of products for individuals to
167 | use, which is precisely where it is most unacceptable.  Therefore, we
168 | have designed this version of the GPL to prohibit the practice for those
169 | products.  If such problems arise substantially in other domains, we
170 | stand ready to extend this provision to those domains in future versions
171 | of the GPL, as needed to protect the freedom of users.
172 | 
173 |   Finally, every program is threatened constantly by software patents.
174 | States should not allow patents to restrict development and use of
175 | software on general-purpose computers, but in those that do, we wish to
176 | avoid the special danger that patents applied to a free program could
177 | make it effectively proprietary.  To prevent this, the GPL assures that
178 | patents cannot be used to render the program non-free.
179 | 
180 |   The precise terms and conditions for copying, distribution and
181 | modification follow.
182 | 
183 |                        TERMS AND CONDITIONS
184 | 
185 |   0. Definitions.
186 | 
187 |   "This License" refers to version 3 of the GNU General Public License.
188 | 
189 |   "Copyright" also means copyright-like laws that apply to other kinds of
190 | works, such as semiconductor masks.
191 | 
192 |   "The Program" refers to any copyrightable work licensed under this
193 | License.  Each licensee is addressed as "you".  "Licensees" and
194 | "recipients" may be individuals or organizations.
195 | 
196 |   To "modify" a work means to copy from or adapt all or part of the work
197 | in a fashion requiring copyright permission, other than the making of an
198 | exact copy.  The resulting work is called a "modified version" of the
199 | earlier work or a work "based on" the earlier work.
200 | 
201 |   A "covered work" means either the unmodified Program or a work based
202 | on the Program.
203 | 
204 |   To "propagate" a work means to do anything with it that, without
205 | permission, would make you directly or secondarily liable for
206 | infringement under applicable copyright law, except executing it on a
207 | computer or modifying a private copy.  Propagation includes copying,
208 | distribution (with or without modification), making available to the
209 | public, and in some countries other activities as well.
210 | 
211 |   To "convey" a work means any kind of propagation that enables other
212 | parties to make or receive copies.  Mere interaction with a user through
213 | a computer network, with no transfer of a copy, is not conveying.
214 | 
215 |   An interactive user interface displays "Appropriate Legal Notices"
216 | to the extent that it includes a convenient and prominently visible
217 | feature that (1) displays an appropriate copyright notice, and (2)
218 | tells the user that there is no warranty for the work (except to the
219 | extent that warranties are provided), that licensees may convey the
220 | work under this License, and how to view a copy of this License.  If
221 | the interface presents a list of user commands or options, such as a
222 | menu, a prominent item in the list meets this criterion.
223 | 
224 |   1. Source Code.
225 | 
226 |   The "source code" for a work means the preferred form of the work
227 | for making modifications to it.  "Object code" means any non-source
228 | form of a work.
229 | 
230 |   A "Standard Interface" means an interface that either is an official
231 | standard defined by a recognized standards body, or, in the case of
232 | interfaces specified for a particular programming language, one that
233 | is widely used among developers working in that language.
234 | 
235 |   The "System Libraries" of an executable work include anything, other
236 | than the work as a whole, that (a) is included in the normal form of
237 | packaging a Major Component, but which is not part of that Major
238 | Component, and (b) serves only to enable use of the work with that
239 | Major Component, or to implement a Standard Interface for which an
240 | implementation is available to the public in source code form.  A
241 | "Major Component", in this context, means a major essential component
242 | (kernel, window system, and so on) of the specific operating system
243 | (if any) on which the executable work runs, or a compiler used to
244 | produce the work, or an object code interpreter used to run it.
245 | 
246 |   The "Corresponding Source" for a work in object code form means all
247 | the source code needed to generate, install, and (for an executable
248 | work) run the object code and to modify the work, including scripts to
249 | control those activities.  However, it does not include the work's
250 | System Libraries, or general-purpose tools or generally available free
251 | programs which are used unmodified in performing those activities but
252 | which are not part of the work.  For example, Corresponding Source
253 | includes interface definition files associated with source files for
254 | the work, and the source code for shared libraries and dynamically
255 | linked subprograms that the work is specifically designed to require,
256 | such as by intimate data communication or control flow between those
257 | subprograms and other parts of the work.
258 | 
259 |   The Corresponding Source need not include anything that users
260 | can regenerate automatically from other parts of the Corresponding
261 | Source.
262 | 
263 |   The Corresponding Source for a work in source code form is that
264 | same work.
265 | 
266 |   2. Basic Permissions.
267 | 
268 |   All rights granted under this License are granted for the term of
269 | copyright on the Program, and are irrevocable provided the stated
270 | conditions are met.  This License explicitly affirms your unlimited
271 | permission to run the unmodified Program.  The output from running a
272 | covered work is covered by this License only if the output, given its
273 | content, constitutes a covered work.  This License acknowledges your
274 | rights of fair use or other equivalent, as provided by copyright law.
275 | 
276 |   You may make, run and propagate covered works that you do not
277 | convey, without conditions so long as your license otherwise remains
278 | in force.  You may convey covered works to others for the sole purpose
279 | of having them make modifications exclusively for you, or provide you
280 | with facilities for running those works, provided that you comply with
281 | the terms of this License in conveying all material for which you do
282 | not control copyright.  Those thus making or running the covered works
283 | for you must do so exclusively on your behalf, under your direction
284 | and control, on terms that prohibit them from making any copies of
285 | your copyrighted material outside their relationship with you.
286 | 
287 |   Conveying under any other circumstances is permitted solely under
288 | the conditions stated below.  Sublicensing is not allowed; section 10
289 | makes it unnecessary.
290 | 
291 |   3. Protecting Users' Legal Rights From Anti-Circumvention Law.
292 | 
293 |   No covered work shall be deemed part of an effective technological
294 | measure under any applicable law fulfilling obligations under article
295 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
296 | similar laws prohibiting or restricting circumvention of such
297 | measures.
298 | 
299 |   When you convey a covered work, you waive any legal power to forbid
300 | circumvention of technological measures to the extent such circumvention
301 | is effected by exercising rights under this License with respect to
302 | the covered work, and you disclaim any intention to limit operation or
303 | modification of the work as a means of enforcing, against the work's
304 | users, your or third parties' legal rights to forbid circumvention of
305 | technological measures.
306 | 
307 |   4. Conveying Verbatim Copies.
308 | 
309 |   You may convey verbatim copies of the Program's source code as you
310 | receive it, in any medium, provided that you conspicuously and
311 | appropriately publish on each copy an appropriate copyright notice;
312 | keep intact all notices stating that this License and any
313 | non-permissive terms added in accord with section 7 apply to the code;
314 | keep intact all notices of the absence of any warranty; and give all
315 | recipients a copy of this License along with the Program.
316 | 
317 |   You may charge any price or no price for each copy that you convey,
318 | and you may offer support or warranty protection for a fee.
319 | 
320 |   5. Conveying Modified Source Versions.
321 | 
322 |   You may convey a work based on the Program, or the modifications to
323 | produce it from the Program, in the form of source code under the
324 | terms of section 4, provided that you also meet all of these conditions:
325 | 
326 |     a) The work must carry prominent notices stating that you modified
327 |     it, and giving a relevant date.
328 | 
329 |     b) The work must carry prominent notices stating that it is
330 |     released under this License and any conditions added under section
331 |     7.  This requirement modifies the requirement in section 4 to
332 |     "keep intact all notices".
333 | 
334 |     c) You must license the entire work, as a whole, under this
335 |     License to anyone who comes into possession of a copy.  This
336 |     License will therefore apply, along with any applicable section 7
337 |     additional terms, to the whole of the work, and all its parts,
338 |     regardless of how they are packaged.  This License gives no
339 |     permission to license the work in any other way, but it does not
340 |     invalidate such permission if you have separately received it.
341 | 
342 |     d) If the work has interactive user interfaces, each must display
343 |     Appropriate Legal Notices; however, if the Program has interactive
344 |     interfaces that do not display Appropriate Legal Notices, your
345 |     work need not make them do so.
346 | 
347 |   A compilation of a covered work with other separate and independent
348 | works, which are not by their nature extensions of the covered work,
349 | and which are not combined with it such as to form a larger program,
350 | in or on a volume of a storage or distribution medium, is called an
351 | "aggregate" if the compilation and its resulting copyright are not
352 | used to limit the access or legal rights of the compilation's users
353 | beyond what the individual works permit.  Inclusion of a covered work
354 | in an aggregate does not cause this License to apply to the other
355 | parts of the aggregate.
356 | 
357 |   6. Conveying Non-Source Forms.
358 | 
359 |   You may convey a covered work in object code form under the terms
360 | of sections 4 and 5, provided that you also convey the
361 | machine-readable Corresponding Source under the terms of this License,
362 | in one of these ways:
363 | 
364 |     a) Convey the object code in, or embodied in, a physical product
365 |     (including a physical distribution medium), accompanied by the
366 |     Corresponding Source fixed on a durable physical medium
367 |     customarily used for software interchange.
368 | 
369 |     b) Convey the object code in, or embodied in, a physical product
370 |     (including a physical distribution medium), accompanied by a
371 |     written offer, valid for at least three years and valid for as
372 |     long as you offer spare parts or customer support for that product
373 |     model, to give anyone who possesses the object code either (1) a
374 |     copy of the Corresponding Source for all the software in the
375 |     product that is covered by this License, on a durable physical
376 |     medium customarily used for software interchange, for a price no
377 |     more than your reasonable cost of physically performing this
378 |     conveying of source, or (2) access to copy the
379 |     Corresponding Source from a network server at no charge.
380 | 
381 |     c) Convey individual copies of the object code with a copy of the
382 |     written offer to provide the Corresponding Source.  This
383 |     alternative is allowed only occasionally and noncommercially, and
384 |     only if you received the object code with such an offer, in accord
385 |     with subsection 6b.
386 | 
387 |     d) Convey the object code by offering access from a designated
388 |     place (gratis or for a charge), and offer equivalent access to the
389 |     Corresponding Source in the same way through the same place at no
390 |     further charge.  You need not require recipients to copy the
391 |     Corresponding Source along with the object code.  If the place to
392 |     copy the object code is a network server, the Corresponding Source
393 |     may be on a different server (operated by you or a third party)
394 |     that supports equivalent copying facilities, provided you maintain
395 |     clear directions next to the object code saying where to find the
396 |     Corresponding Source.  Regardless of what server hosts the
397 |     Corresponding Source, you remain obligated to ensure that it is
398 |     available for as long as needed to satisfy these requirements.
399 | 
400 |     e) Convey the object code using peer-to-peer transmission, provided
401 |     you inform other peers where the object code and Corresponding
402 |     Source of the work are being offered to the general public at no
403 |     charge under subsection 6d.
404 | 
405 |   A separable portion of the object code, whose source code is excluded
406 | from the Corresponding Source as a System Library, need not be
407 | included in conveying the object code work.
408 | 
409 |   A "User Product" is either (1) a "consumer product", which means any
410 | tangible personal property which is normally used for personal, family,
411 | or household purposes, or (2) anything designed or sold for incorporation
412 | into a dwelling.  In determining whether a product is a consumer product,
413 | doubtful cases shall be resolved in favor of coverage.  For a particular
414 | product received by a particular user, "normally used" refers to a
415 | typical or common use of that class of product, regardless of the status
416 | of the particular user or of the way in which the particular user
417 | actually uses, or expects or is expected to use, the product.  A product
418 | is a consumer product regardless of whether the product has substantial
419 | commercial, industrial or non-consumer uses, unless such uses represent
420 | the only significant mode of use of the product.
421 | 
422 |   "Installation Information" for a User Product means any methods,
423 | procedures, authorization keys, or other information required to install
424 | and execute modified versions of a covered work in that User Product from
425 | a modified version of its Corresponding Source.  The information must
426 | suffice to ensure that the continued functioning of the modified object
427 | code is in no case prevented or interfered with solely because
428 | modification has been made.
429 | 
430 |   If you convey an object code work under this section in, or with, or
431 | specifically for use in, a User Product, and the conveying occurs as
432 | part of a transaction in which the right of possession and use of the
433 | User Product is transferred to the recipient in perpetuity or for a
434 | fixed term (regardless of how the transaction is characterized), the
435 | Corresponding Source conveyed under this section must be accompanied
436 | by the Installation Information.  But this requirement does not apply
437 | if neither you nor any third party retains the ability to install
438 | modified object code on the User Product (for example, the work has
439 | been installed in ROM).
440 | 
441 |   The requirement to provide Installation Information does not include a
442 | requirement to continue to provide support service, warranty, or updates
443 | for a work that has been modified or installed by the recipient, or for
444 | the User Product in which it has been modified or installed.  Access to a
445 | network may be denied when the modification itself materially and
446 | adversely affects the operation of the network or violates the rules and
447 | protocols for communication across the network.
448 | 
449 |   Corresponding Source conveyed, and Installation Information provided,
450 | in accord with this section must be in a format that is publicly
451 | documented (and with an implementation available to the public in
452 | source code form), and must require no special password or key for
453 | unpacking, reading or copying.
454 | 
455 |   7. Additional Terms.
456 | 
457 |   "Additional permissions" are terms that supplement the terms of this
458 | License by making exceptions from one or more of its conditions.
459 | Additional permissions that are applicable to the entire Program shall
460 | be treated as though they were included in this License, to the extent
461 | that they are valid under applicable law.  If additional permissions
462 | apply only to part of the Program, that part may be used separately
463 | under those permissions, but the entire Program remains governed by
464 | this License without regard to the additional permissions.
465 | 
466 |   When you convey a copy of a covered work, you may at your option
467 | remove any additional permissions from that copy, or from any part of
468 | it.  (Additional permissions may be written to require their own
469 | removal in certain cases when you modify the work.)  You may place
470 | additional permissions on material, added by you to a covered work,
471 | for which you have or can give appropriate copyright permission.
472 | 
473 |   Notwithstanding any other provision of this License, for material you
474 | add to a covered work, you may (if authorized by the copyright holders of
475 | that material) supplement the terms of this License with terms:
476 | 
477 |     a) Disclaiming warranty or limiting liability differently from the
478 |     terms of sections 15 and 16 of this License; or
479 | 
480 |     b) Requiring preservation of specified reasonable legal notices or
481 |     author attributions in that material or in the Appropriate Legal
482 |     Notices displayed by works containing it; or
483 | 
484 |     c) Prohibiting misrepresentation of the origin of that material, or
485 |     requiring that modified versions of such material be marked in
486 |     reasonable ways as different from the original version; or
487 | 
488 |     d) Limiting the use for publicity purposes of names of licensors or
489 |     authors of the material; or
490 | 
491 |     e) Declining to grant rights under trademark law for use of some
492 |     trade names, trademarks, or service marks; or
493 | 
494 |     f) Requiring indemnification of licensors and authors of that
495 |     material by anyone who conveys the material (or modified versions of
496 |     it) with contractual assumptions of liability to the recipient, for
497 |     any liability that these contractual assumptions directly impose on
498 |     those licensors and authors.
499 | 
500 |   All other non-permissive additional terms are considered "further
501 | restrictions" within the meaning of section 10.  If the Program as you
502 | received it, or any part of it, contains a notice stating that it is
503 | governed by this License along with a term that is a further
504 | restriction, you may remove that term.  If a license document contains
505 | a further restriction but permits relicensing or conveying under this
506 | License, you may add to a covered work material governed by the terms
507 | of that license document, provided that the further restriction does
508 | not survive such relicensing or conveying.
509 | 
510 |   If you add terms to a covered work in accord with this section, you
511 | must place, in the relevant source files, a statement of the
512 | additional terms that apply to those files, or a notice indicating
513 | where to find the applicable terms.
514 | 
515 |   Additional terms, permissive or non-permissive, may be stated in the
516 | form of a separately written license, or stated as exceptions;
517 | the above requirements apply either way.
518 | 
519 |   8. Termination.
520 | 
521 |   You may not propagate or modify a covered work except as expressly
522 | provided under this License.  Any attempt otherwise to propagate or
523 | modify it is void, and will automatically terminate your rights under
524 | this License (including any patent licenses granted under the third
525 | paragraph of section 11).
526 | 
527 |   However, if you cease all violation of this License, then your
528 | license from a particular copyright holder is reinstated (a)
529 | provisionally, unless and until the copyright holder explicitly and
530 | finally terminates your license, and (b) permanently, if the copyright
531 | holder fails to notify you of the violation by some reasonable means
532 | prior to 60 days after the cessation.
533 | 
534 |   Moreover, your license from a particular copyright holder is
535 | reinstated permanently if the copyright holder notifies you of the
536 | violation by some reasonable means, this is the first time you have
537 | received notice of violation of this License (for any work) from that
538 | copyright holder, and you cure the violation prior to 30 days after
539 | your receipt of the notice.
540 | 
541 |   Termination of your rights under this section does not terminate the
542 | licenses of parties who have received copies or rights from you under
543 | this License.  If your rights have been terminated and not permanently
544 | reinstated, you do not qualify to receive new licenses for the same
545 | material under section 10.
546 | 
547 |   9. Acceptance Not Required for Having Copies.
548 | 
549 |   You are not required to accept this License in order to receive or
550 | run a copy of the Program.  Ancillary propagation of a covered work
551 | occurring solely as a consequence of using peer-to-peer transmission
552 | to receive a copy likewise does not require acceptance.  However,
553 | nothing other than this License grants you permission to propagate or
554 | modify any covered work.  These actions infringe copyright if you do
555 | not accept this License.  Therefore, by modifying or propagating a
556 | covered work, you indicate your acceptance of this License to do so.
557 | 
558 |   10. Automatic Licensing of Downstream Recipients.
559 | 
560 |   Each time you convey a covered work, the recipient automatically
561 | receives a license from the original licensors, to run, modify and
562 | propagate that work, subject to this License.  You are not responsible
563 | for enforcing compliance by third parties with this License.
564 | 
565 |   An "entity transaction" is a transaction transferring control of an
566 | organization, or substantially all assets of one, or subdividing an
567 | organization, or merging organizations.  If propagation of a covered
568 | work results from an entity transaction, each party to that
569 | transaction who receives a copy of the work also receives whatever
570 | licenses to the work the party's predecessor in interest had or could
571 | give under the previous paragraph, plus a right to possession of the
572 | Corresponding Source of the work from the predecessor in interest, if
573 | the predecessor has it or can get it with reasonable efforts.
574 | 
575 |   You may not impose any further restrictions on the exercise of the
576 | rights granted or affirmed under this License.  For example, you may
577 | not impose a license fee, royalty, or other charge for exercise of
578 | rights granted under this License, and you may not initiate litigation
579 | (including a cross-claim or counterclaim in a lawsuit) alleging that
580 | any patent claim is infringed by making, using, selling, offering for
581 | sale, or importing the Program or any portion of it.
582 | 
583 |   11. Patents.
584 | 
585 |   A "contributor" is a copyright holder who authorizes use under this
586 | License of the Program or a work on which the Program is based.  The
587 | work thus licensed is called the contributor's "contributor version".
588 | 
589 |   A contributor's "essential patent claims" are all patent claims
590 | owned or controlled by the contributor, whether already acquired or
591 | hereafter acquired, that would be infringed by some manner, permitted
592 | by this License, of making, using, or selling its contributor version,
593 | but do not include claims that would be infringed only as a
594 | consequence of further modification of the contributor version.  For
595 | purposes of this definition, "control" includes the right to grant
596 | patent sublicenses in a manner consistent with the requirements of
597 | this License.
598 | 
599 |   Each contributor grants you a non-exclusive, worldwide, royalty-free
600 | patent license under the contributor's essential patent claims, to
601 | make, use, sell, offer for sale, import and otherwise run, modify and
602 | propagate the contents of its contributor version.
603 | 
604 |   In the following three paragraphs, a "patent license" is any express
605 | agreement or commitment, however denominated, not to enforce a patent
606 | (such as an express permission to practice a patent or covenant not to
607 | sue for patent infringement).  To "grant" such a patent license to a
608 | party means to make such an agreement or commitment not to enforce a
609 | patent against the party.
610 | 
611 |   If you convey a covered work, knowingly relying on a patent license,
612 | and the Corresponding Source of the work is not available for anyone
613 | to copy, free of charge and under the terms of this License, through a
614 | publicly available network server or other readily accessible means,
615 | then you must either (1) cause the Corresponding Source to be so
616 | available, or (2) arrange to deprive yourself of the benefit of the
617 | patent license for this particular work, or (3) arrange, in a manner
618 | consistent with the requirements of this License, to extend the patent
619 | license to downstream recipients.  "Knowingly relying" means you have
620 | actual knowledge that, but for the patent license, your conveying the
621 | covered work in a country, or your recipient's use of the covered work
622 | in a country, would infringe one or more identifiable patents in that
623 | country that you have reason to believe are valid.
624 | 
625 |   If, pursuant to or in connection with a single transaction or
626 | arrangement, you convey, or propagate by procuring conveyance of, a
627 | covered work, and grant a patent license to some of the parties
628 | receiving the covered work authorizing them to use, propagate, modify
629 | or convey a specific copy of the covered work, then the patent license
630 | you grant is automatically extended to all recipients of the covered
631 | work and works based on it.
632 | 
633 |   A patent license is "discriminatory" if it does not include within
634 | the scope of its coverage, prohibits the exercise of, or is
635 | conditioned on the non-exercise of one or more of the rights that are
636 | specifically granted under this License.  You may not convey a covered
637 | work if you are a party to an arrangement with a third party that is
638 | in the business of distributing software, under which you make payment
639 | to the third party based on the extent of your activity of conveying
640 | the work, and under which the third party grants, to any of the
641 | parties who would receive the covered work from you, a discriminatory
642 | patent license (a) in connection with copies of the covered work
643 | conveyed by you (or copies made from those copies), or (b) primarily
644 | for and in connection with specific products or compilations that
645 | contain the covered work, unless you entered into that arrangement,
646 | or that patent license was granted, prior to 28 March 2007.
647 | 
648 |   Nothing in this License shall be construed as excluding or limiting
649 | any implied license or other defenses to infringement that may
650 | otherwise be available to you under applicable patent law.
651 | 
652 |   12. No Surrender of Others' Freedom.
653 | 
654 |   If conditions are imposed on you (whether by court order, agreement or
655 | otherwise) that contradict the conditions of this License, they do not
656 | excuse you from the conditions of this License.  If you cannot convey a
657 | covered work so as to satisfy simultaneously your obligations under this
658 | License and any other pertinent obligations, then as a consequence you may
659 | not convey it at all.  For example, if you agree to terms that obligate you
660 | to collect a royalty for further conveying from those to whom you convey
661 | the Program, the only way you could satisfy both those terms and this
662 | License would be to refrain entirely from conveying the Program.
663 | 
664 |   13. Use with the GNU Affero General Public License.
665 | 
666 |   Notwithstanding any other provision of this License, you have
667 | permission to link or combine any covered work with a work licensed
668 | under version 3 of the GNU Affero General Public License into a single
669 | combined work, and to convey the resulting work.  The terms of this
670 | License will continue to apply to the part which is the covered work,
671 | but the special requirements of the GNU Affero General Public License,
672 | section 13, concerning interaction through a network will apply to the
673 | combination as such.
674 | 
675 |   14. Revised Versions of this License.
676 | 
677 |   The Free Software Foundation may publish revised and/or new versions of
678 | the GNU General Public License from time to time.  Such new versions will
679 | be similar in spirit to the present version, but may differ in detail to
680 | address new problems or concerns.
681 | 
682 |   Each version is given a distinguishing version number.  If the
683 | Program specifies that a certain numbered version of the GNU General
684 | Public License "or any later version" applies to it, you have the
685 | option of following the terms and conditions either of that numbered
686 | version or of any later version published by the Free Software
687 | Foundation.  If the Program does not specify a version number of the
688 | GNU General Public License, you may choose any version ever published
689 | by the Free Software Foundation.
690 | 
691 |   If the Program specifies that a proxy can decide which future
692 | versions of the GNU General Public License can be used, that proxy's
693 | public statement of acceptance of a version permanently authorizes you
694 | to choose that version for the Program.
695 | 
696 |   Later license versions may give you additional or different
697 | permissions.  However, no additional obligations are imposed on any
698 | author or copyright holder as a result of your choosing to follow a
699 | later version.
700 | 
701 |   15. Disclaimer of Warranty.
702 | 
703 |   THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
704 | APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
705 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
706 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
707 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
708 | PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
709 | IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
710 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
711 | 
712 |   16. Limitation of Liability.
713 | 
714 |   IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
715 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
716 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
717 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
718 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
719 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
720 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
721 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
722 | SUCH DAMAGES.
723 | 
724 |   17. Interpretation of Sections 15 and 16.
725 | 
726 |   If the disclaimer of warranty and limitation of liability provided
727 | above cannot be given local legal effect according to their terms,
728 | reviewing courts shall apply local law that most closely approximates
729 | an absolute waiver of all civil liability in connection with the
730 | Program, unless a warranty or assumption of liability accompanies a
731 | copy of the Program in return for a fee.
732 | 
733 |                      END OF TERMS AND CONDITIONS
734 | 
735 |             How to Apply These Terms to Your New Programs
736 | 
737 |   If you develop a new program, and you want it to be of the greatest
738 | possible use to the public, the best way to achieve this is to make it
739 | free software which everyone can redistribute and change under these terms.
740 | 
741 |   To do so, attach the following notices to the program.  It is safest
742 | to attach them to the start of each source file to most effectively
743 | state the exclusion of warranty; and each file should have at least
744 | the "copyright" line and a pointer to where the full notice is found.
745 | 
746 |     <one line to give the program's name and a brief idea of what it does.>
747 |     Copyright (C) <year>  <name of author>
748 | 
749 |     This program is free software: you can redistribute it and/or modify
750 |     it under the terms of the GNU General Public License as published by
751 |     the Free Software Foundation, either version 3 of the License, or
752 |     (at your option) any later version.
753 | 
754 |     This program is distributed in the hope that it will be useful,
755 |     but WITHOUT ANY WARRANTY; without even the implied warranty of
756 |     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
757 |     GNU General Public License for more details.
758 | 
759 |     You should have received a copy of the GNU General Public License
760 |     along with this program.  If not, see <http://www.gnu.org/licenses/>.
761 | 
762 | Also add information on how to contact you by electronic and paper mail.
763 | 
764 |   If the program does terminal interaction, make it output a short
765 | notice like this when it starts in an interactive mode:
766 | 
767 |     <program>  Copyright (C) <year>  <name of author>
768 |     This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
769 |     This is free software, and you are welcome to redistribute it
770 |     under certain conditions; type `show c' for details.
771 | 
772 | The hypothetical commands `show w' and `show c' should show the appropriate
773 | parts of the General Public License.  Of course, your program's commands
774 | might be different; for a GUI interface, you would use an "about box".
775 | 
776 |   You should also get your employer (if you work as a programmer) or school,
777 | if any, to sign a "copyright disclaimer" for the program, if necessary.
778 | For more information on this, and how to apply and follow the GNU GPL, see
779 | <http://www.gnu.org/licenses/>.
780 | 
781 |   The GNU General Public License does not permit incorporating your program
782 | into proprietary programs.  If your program is a subroutine library, you
783 | may consider it more useful to permit linking proprietary applications with
784 | the library.  If this is what you want to do, use the GNU Lesser General
785 | Public License instead of this License.  But first, please read
786 | <http://www.gnu.org/philosophy/why-not-lgpl.html>.
787 | 
788 | 789 |
790 | 791 | 796 | 797 |
798 | 799 | 800 | 801 |
802 | 805 | 806 |
807 |

Site built with pkgdown 1.6.1.

808 |
809 | 810 |
811 |
812 | 813 | 814 | 815 | 816 | 817 | 818 | 819 | 820 | -------------------------------------------------------------------------------- /docs/authors.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Authors • untidydata 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 55 | 56 | 57 | 58 | 59 | 60 | 61 |
62 |
63 | 102 | 103 | 104 | 105 |
106 | 107 |
108 |
109 | 112 | 113 |
    114 |
  • 115 |

    Joseph Vincent Casillas. Author, maintainer. 116 |

    117 |
  • 118 |
119 | 120 |
121 | 122 |
123 | 124 | 125 | 126 |
127 | 130 | 131 |
132 |

Site built with pkgdown 1.6.1.

133 |
134 | 135 |
136 |
137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | -------------------------------------------------------------------------------- /docs/bootstrap-toc.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Table of Contents v0.4.1 (http://afeld.github.io/bootstrap-toc/) 3 | * Copyright 2015 Aidan Feldman 4 | * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */ 5 | 6 | /* modified from https://github.com/twbs/bootstrap/blob/94b4076dd2efba9af71f0b18d4ee4b163aa9e0dd/docs/assets/css/src/docs.css#L548-L601 */ 7 | 8 | /* All levels of nav */ 9 | nav[data-toggle='toc'] .nav > li > a { 10 | display: block; 11 | padding: 4px 20px; 12 | font-size: 13px; 13 | font-weight: 500; 14 | color: #767676; 15 | } 16 | nav[data-toggle='toc'] .nav > li > a:hover, 17 | nav[data-toggle='toc'] .nav > li > a:focus { 18 | padding-left: 19px; 19 | color: #563d7c; 20 | text-decoration: none; 21 | background-color: transparent; 22 | border-left: 1px solid #563d7c; 23 | } 24 | nav[data-toggle='toc'] .nav > .active > a, 25 | nav[data-toggle='toc'] .nav > .active:hover > a, 26 | nav[data-toggle='toc'] .nav > .active:focus > a { 27 | padding-left: 18px; 28 | font-weight: bold; 29 | color: #563d7c; 30 | background-color: transparent; 31 | border-left: 2px solid #563d7c; 32 | } 33 | 34 | /* Nav: second level (shown on .active) */ 35 | nav[data-toggle='toc'] .nav .nav { 36 | display: none; /* Hide by default, but at >768px, show it */ 37 | padding-bottom: 10px; 38 | } 39 | nav[data-toggle='toc'] .nav .nav > li > a { 40 | padding-top: 1px; 41 | padding-bottom: 1px; 42 | padding-left: 30px; 43 | font-size: 12px; 44 | font-weight: normal; 45 | } 46 | nav[data-toggle='toc'] .nav .nav > li > a:hover, 47 | nav[data-toggle='toc'] .nav .nav > li > a:focus { 48 | padding-left: 29px; 49 | } 50 | nav[data-toggle='toc'] .nav .nav > .active > a, 51 | nav[data-toggle='toc'] .nav .nav > .active:hover > a, 52 | nav[data-toggle='toc'] .nav .nav > .active:focus > a { 53 | padding-left: 28px; 54 | font-weight: 500; 55 | } 56 | 57 | /* from https://github.com/twbs/bootstrap/blob/e38f066d8c203c3e032da0ff23cd2d6098ee2dd6/docs/assets/css/src/docs.css#L631-L634 */ 58 | nav[data-toggle='toc'] .nav > .active > ul { 59 | display: block; 60 | } 61 | -------------------------------------------------------------------------------- /docs/bootstrap-toc.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Table of Contents v0.4.1 (http://afeld.github.io/bootstrap-toc/) 3 | * Copyright 2015 Aidan Feldman 4 | * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */ 5 | (function() { 6 | 'use strict'; 7 | 8 | window.Toc = { 9 | helpers: { 10 | // return all matching elements in the set, or their descendants 11 | findOrFilter: function($el, selector) { 12 | // http://danielnouri.org/notes/2011/03/14/a-jquery-find-that-also-finds-the-root-element/ 13 | // http://stackoverflow.com/a/12731439/358804 14 | var $descendants = $el.find(selector); 15 | return $el.filter(selector).add($descendants).filter(':not([data-toc-skip])'); 16 | }, 17 | 18 | generateUniqueIdBase: function(el) { 19 | var text = $(el).text(); 20 | var anchor = text.trim().toLowerCase().replace(/[^A-Za-z0-9]+/g, '-'); 21 | return anchor || el.tagName.toLowerCase(); 22 | }, 23 | 24 | generateUniqueId: function(el) { 25 | var anchorBase = this.generateUniqueIdBase(el); 26 | for (var i = 0; ; i++) { 27 | var anchor = anchorBase; 28 | if (i > 0) { 29 | // add suffix 30 | anchor += '-' + i; 31 | } 32 | // check if ID already exists 33 | if (!document.getElementById(anchor)) { 34 | return anchor; 35 | } 36 | } 37 | }, 38 | 39 | generateAnchor: function(el) { 40 | if (el.id) { 41 | return el.id; 42 | } else { 43 | var anchor = this.generateUniqueId(el); 44 | el.id = anchor; 45 | return anchor; 46 | } 47 | }, 48 | 49 | createNavList: function() { 50 | return $(''); 51 | }, 52 | 53 | createChildNavList: function($parent) { 54 | var $childList = this.createNavList(); 55 | $parent.append($childList); 56 | return $childList; 57 | }, 58 | 59 | generateNavEl: function(anchor, text) { 60 | var $a = $(''); 61 | $a.attr('href', '#' + anchor); 62 | $a.text(text); 63 | var $li = $('
  • '); 64 | $li.append($a); 65 | return $li; 66 | }, 67 | 68 | generateNavItem: function(headingEl) { 69 | var anchor = this.generateAnchor(headingEl); 70 | var $heading = $(headingEl); 71 | var text = $heading.data('toc-text') || $heading.text(); 72 | return this.generateNavEl(anchor, text); 73 | }, 74 | 75 | // Find the first heading level (`

    `, then `

    `, etc.) that has more than one element. Defaults to 1 (for `

    `). 76 | getTopLevel: function($scope) { 77 | for (var i = 1; i <= 6; i++) { 78 | var $headings = this.findOrFilter($scope, 'h' + i); 79 | if ($headings.length > 1) { 80 | return i; 81 | } 82 | } 83 | 84 | return 1; 85 | }, 86 | 87 | // returns the elements for the top level, and the next below it 88 | getHeadings: function($scope, topLevel) { 89 | var topSelector = 'h' + topLevel; 90 | 91 | var secondaryLevel = topLevel + 1; 92 | var secondarySelector = 'h' + secondaryLevel; 93 | 94 | return this.findOrFilter($scope, topSelector + ',' + secondarySelector); 95 | }, 96 | 97 | getNavLevel: function(el) { 98 | return parseInt(el.tagName.charAt(1), 10); 99 | }, 100 | 101 | populateNav: function($topContext, topLevel, $headings) { 102 | var $context = $topContext; 103 | var $prevNav; 104 | 105 | var helpers = this; 106 | $headings.each(function(i, el) { 107 | var $newNav = helpers.generateNavItem(el); 108 | var navLevel = helpers.getNavLevel(el); 109 | 110 | // determine the proper $context 111 | if (navLevel === topLevel) { 112 | // use top level 113 | $context = $topContext; 114 | } else if ($prevNav && $context === $topContext) { 115 | // create a new level of the tree and switch to it 116 | $context = helpers.createChildNavList($prevNav); 117 | } // else use the current $context 118 | 119 | $context.append($newNav); 120 | 121 | $prevNav = $newNav; 122 | }); 123 | }, 124 | 125 | parseOps: function(arg) { 126 | var opts; 127 | if (arg.jquery) { 128 | opts = { 129 | $nav: arg 130 | }; 131 | } else { 132 | opts = arg; 133 | } 134 | opts.$scope = opts.$scope || $(document.body); 135 | return opts; 136 | } 137 | }, 138 | 139 | // accepts a jQuery object, or an options object 140 | init: function(opts) { 141 | opts = this.helpers.parseOps(opts); 142 | 143 | // ensure that the data attribute is in place for styling 144 | opts.$nav.attr('data-toggle', 'toc'); 145 | 146 | var $topContext = this.helpers.createChildNavList(opts.$nav); 147 | var topLevel = this.helpers.getTopLevel(opts.$scope); 148 | var $headings = this.helpers.getHeadings(opts.$scope, topLevel); 149 | this.helpers.populateNav($topContext, topLevel, $headings); 150 | } 151 | }; 152 | 153 | $(function() { 154 | $('nav[data-toggle="toc"]').each(function(i, el) { 155 | var $nav = $(el); 156 | Toc.init($nav); 157 | }); 158 | }); 159 | })(); 160 | -------------------------------------------------------------------------------- /docs/docsearch.css: -------------------------------------------------------------------------------- 1 | /* Docsearch -------------------------------------------------------------- */ 2 | /* 3 | Source: https://github.com/algolia/docsearch/ 4 | License: MIT 5 | */ 6 | 7 | .algolia-autocomplete { 8 | display: block; 9 | -webkit-box-flex: 1; 10 | -ms-flex: 1; 11 | flex: 1 12 | } 13 | 14 | .algolia-autocomplete .ds-dropdown-menu { 15 | width: 100%; 16 | min-width: none; 17 | max-width: none; 18 | padding: .75rem 0; 19 | background-color: #fff; 20 | background-clip: padding-box; 21 | border: 1px solid rgba(0, 0, 0, .1); 22 | box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .175); 23 | } 24 | 25 | @media (min-width:768px) { 26 | .algolia-autocomplete .ds-dropdown-menu { 27 | width: 175% 28 | } 29 | } 30 | 31 | .algolia-autocomplete .ds-dropdown-menu::before { 32 | display: none 33 | } 34 | 35 | .algolia-autocomplete .ds-dropdown-menu [class^=ds-dataset-] { 36 | padding: 0; 37 | background-color: rgb(255,255,255); 38 | border: 0; 39 | max-height: 80vh; 40 | } 41 | 42 | .algolia-autocomplete .ds-dropdown-menu .ds-suggestions { 43 | margin-top: 0 44 | } 45 | 46 | .algolia-autocomplete .algolia-docsearch-suggestion { 47 | padding: 0; 48 | overflow: visible 49 | } 50 | 51 | .algolia-autocomplete .algolia-docsearch-suggestion--category-header { 52 | padding: .125rem 1rem; 53 | margin-top: 0; 54 | font-size: 1.3em; 55 | font-weight: 500; 56 | color: #00008B; 57 | border-bottom: 0 58 | } 59 | 60 | .algolia-autocomplete .algolia-docsearch-suggestion--wrapper { 61 | float: none; 62 | padding-top: 0 63 | } 64 | 65 | .algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column { 66 | float: none; 67 | width: auto; 68 | padding: 0; 69 | text-align: left 70 | } 71 | 72 | .algolia-autocomplete .algolia-docsearch-suggestion--content { 73 | float: none; 74 | width: auto; 75 | padding: 0 76 | } 77 | 78 | .algolia-autocomplete .algolia-docsearch-suggestion--content::before { 79 | display: none 80 | } 81 | 82 | .algolia-autocomplete .ds-suggestion:not(:first-child) .algolia-docsearch-suggestion--category-header { 83 | padding-top: .75rem; 84 | margin-top: .75rem; 85 | border-top: 1px solid rgba(0, 0, 0, .1) 86 | } 87 | 88 | .algolia-autocomplete .ds-suggestion .algolia-docsearch-suggestion--subcategory-column { 89 | display: block; 90 | padding: .1rem 1rem; 91 | margin-bottom: 0.1; 92 | font-size: 1.0em; 93 | font-weight: 400 94 | /* display: none */ 95 | } 96 | 97 | .algolia-autocomplete .algolia-docsearch-suggestion--title { 98 | display: block; 99 | padding: .25rem 1rem; 100 | margin-bottom: 0; 101 | font-size: 0.9em; 102 | font-weight: 400 103 | } 104 | 105 | .algolia-autocomplete .algolia-docsearch-suggestion--text { 106 | padding: 0 1rem .5rem; 107 | margin-top: -.25rem; 108 | font-size: 0.8em; 109 | font-weight: 400; 110 | line-height: 1.25 111 | } 112 | 113 | .algolia-autocomplete .algolia-docsearch-footer { 114 | width: 110px; 115 | height: 20px; 116 | z-index: 3; 117 | margin-top: 10.66667px; 118 | float: right; 119 | font-size: 0; 120 | line-height: 0; 121 | } 122 | 123 | .algolia-autocomplete .algolia-docsearch-footer--logo { 124 | background-image: url("data:image/svg+xml;utf8,"); 125 | background-repeat: no-repeat; 126 | background-position: 50%; 127 | background-size: 100%; 128 | overflow: hidden; 129 | text-indent: -9000px; 130 | width: 100%; 131 | height: 100%; 132 | display: block; 133 | transform: translate(-8px); 134 | } 135 | 136 | .algolia-autocomplete .algolia-docsearch-suggestion--highlight { 137 | color: #FF8C00; 138 | background: rgba(232, 189, 54, 0.1) 139 | } 140 | 141 | 142 | .algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight { 143 | box-shadow: inset 0 -2px 0 0 rgba(105, 105, 105, .5) 144 | } 145 | 146 | .algolia-autocomplete .ds-suggestion.ds-cursor .algolia-docsearch-suggestion--content { 147 | background-color: rgba(192, 192, 192, .15) 148 | } 149 | -------------------------------------------------------------------------------- /docs/docsearch.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | 3 | // register a handler to move the focus to the search bar 4 | // upon pressing shift + "/" (i.e. "?") 5 | $(document).on('keydown', function(e) { 6 | if (e.shiftKey && e.keyCode == 191) { 7 | e.preventDefault(); 8 | $("#search-input").focus(); 9 | } 10 | }); 11 | 12 | $(document).ready(function() { 13 | // do keyword highlighting 14 | /* modified from https://jsfiddle.net/julmot/bL6bb5oo/ */ 15 | var mark = function() { 16 | 17 | var referrer = document.URL ; 18 | var paramKey = "q" ; 19 | 20 | if (referrer.indexOf("?") !== -1) { 21 | var qs = referrer.substr(referrer.indexOf('?') + 1); 22 | var qs_noanchor = qs.split('#')[0]; 23 | var qsa = qs_noanchor.split('&'); 24 | var keyword = ""; 25 | 26 | for (var i = 0; i < qsa.length; i++) { 27 | var currentParam = qsa[i].split('='); 28 | 29 | if (currentParam.length !== 2) { 30 | continue; 31 | } 32 | 33 | if (currentParam[0] == paramKey) { 34 | keyword = decodeURIComponent(currentParam[1].replace(/\+/g, "%20")); 35 | } 36 | } 37 | 38 | if (keyword !== "") { 39 | $(".contents").unmark({ 40 | done: function() { 41 | $(".contents").mark(keyword); 42 | } 43 | }); 44 | } 45 | } 46 | }; 47 | 48 | mark(); 49 | }); 50 | }); 51 | 52 | /* Search term highlighting ------------------------------*/ 53 | 54 | function matchedWords(hit) { 55 | var words = []; 56 | 57 | var hierarchy = hit._highlightResult.hierarchy; 58 | // loop to fetch from lvl0, lvl1, etc. 59 | for (var idx in hierarchy) { 60 | words = words.concat(hierarchy[idx].matchedWords); 61 | } 62 | 63 | var content = hit._highlightResult.content; 64 | if (content) { 65 | words = words.concat(content.matchedWords); 66 | } 67 | 68 | // return unique words 69 | var words_uniq = [...new Set(words)]; 70 | return words_uniq; 71 | } 72 | 73 | function updateHitURL(hit) { 74 | 75 | var words = matchedWords(hit); 76 | var url = ""; 77 | 78 | if (hit.anchor) { 79 | url = hit.url_without_anchor + '?q=' + escape(words.join(" ")) + '#' + hit.anchor; 80 | } else { 81 | url = hit.url + '?q=' + escape(words.join(" ")); 82 | } 83 | 84 | return url; 85 | } 86 | -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Untidy datasets for practicing the tidyverse • untidydata 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 20 | 21 | 22 |
    23 |
    63 | 64 | 65 | 66 | 67 |
    68 |
    69 | 70 | 71 |
    72 |

    73 | untidydata 74 |

    75 |

    An R package of untidy datasets made for the purpose of teaching the tidyverse.

    76 |

    Last update: 2021-01-27

    77 |
    78 |

    79 | Overview

    80 |

    The purpose of this package is to store untidy datasets I have been creating for teaching purposes in a version controlled environment. The datasets vary in difficulty and present different problems common when tidying data.

    81 |
    82 |
    83 |

    84 | Installation

    85 |

    You can install the development version from GitHub with:

    86 |
    install.packages("devtools")
     87 | devtools::install_github("jvcasillas/untidydata")
    88 |
    89 |
    90 |

    91 | Datasets

    92 | 99 |
    100 |

    101 | language_diversity 102 |

    103 |
      104 |
    • Difficulty: easy
    • 105 |
    • A long format dataset that is most useful in wide format.
    • 106 |
    • Data taken from Appendix 1 in:
      107 | Nettle, D. (1998). Explaining Global Patterns of Language Diversity. Journal of Anthropological Archaeology, 17, 354–374.
    • 108 |
    109 |
    110 |
    111 |

    112 | pre_post 113 |

    114 |
      115 |
    • Difficulty: easy
    • 116 |
    • A typical pre-test, post-test data set in wide format.
    • 117 |
    118 |
    119 |
    120 |

    121 | spanish_vowels 122 |

    123 |
      124 |
    • Difficulty: easy
    • 125 |
    • Simulated Spanish vowel formant measurements from male and female speakers.
    • 126 |
    127 |
    128 |
    129 |

    130 | spirantization 131 |

    132 |
      133 |
    • Difficulty: easy
    • 134 |
    • Simulated intensity measurements of CV sequences in word initial and word medial position from L2 learners and native speakers.
    • 135 |
    136 |
    137 |
    138 |

    139 | vot 140 |

    141 |
      142 |
    • Difficulty: medium
    • 143 |
    • A voice-onset time data set. Includes coronal stop data from English and Spanish monolinguals, as well as English/Spanish bilinguals.
    • 144 |
    145 |
    146 |
    147 |
    148 | 149 |
    150 | 151 | 182 |
    183 | 184 | 185 |
    188 | 189 |
    190 |

    Site built with pkgdown 1.6.1.

    191 |
    192 | 193 |
    194 |
    195 | 196 | 197 | 198 | 199 | 200 | 201 | -------------------------------------------------------------------------------- /docs/link.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 12 | 13 | -------------------------------------------------------------------------------- /docs/pkgdown.css: -------------------------------------------------------------------------------- 1 | /* Sticky footer */ 2 | 3 | /** 4 | * Basic idea: https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/ 5 | * Details: https://github.com/philipwalton/solved-by-flexbox/blob/master/assets/css/components/site.css 6 | * 7 | * .Site -> body > .container 8 | * .Site-content -> body > .container .row 9 | * .footer -> footer 10 | * 11 | * Key idea seems to be to ensure that .container and __all its parents__ 12 | * have height set to 100% 13 | * 14 | */ 15 | 16 | html, body { 17 | height: 100%; 18 | } 19 | 20 | body { 21 | position: relative; 22 | } 23 | 24 | body > .container { 25 | display: flex; 26 | height: 100%; 27 | flex-direction: column; 28 | } 29 | 30 | body > .container .row { 31 | flex: 1 0 auto; 32 | } 33 | 34 | footer { 35 | margin-top: 45px; 36 | padding: 35px 0 36px; 37 | border-top: 1px solid #e5e5e5; 38 | color: #666; 39 | display: flex; 40 | flex-shrink: 0; 41 | } 42 | footer p { 43 | margin-bottom: 0; 44 | } 45 | footer div { 46 | flex: 1; 47 | } 48 | footer .pkgdown { 49 | text-align: right; 50 | } 51 | footer p { 52 | margin-bottom: 0; 53 | } 54 | 55 | img.icon { 56 | float: right; 57 | } 58 | 59 | img { 60 | max-width: 100%; 61 | } 62 | 63 | /* Fix bug in bootstrap (only seen in firefox) */ 64 | summary { 65 | display: list-item; 66 | } 67 | 68 | /* Typographic tweaking ---------------------------------*/ 69 | 70 | .contents .page-header { 71 | margin-top: calc(-60px + 1em); 72 | } 73 | 74 | dd { 75 | margin-left: 3em; 76 | } 77 | 78 | /* Section anchors ---------------------------------*/ 79 | 80 | a.anchor { 81 | margin-left: -30px; 82 | display:inline-block; 83 | width: 30px; 84 | height: 30px; 85 | visibility: hidden; 86 | 87 | background-image: url(./link.svg); 88 | background-repeat: no-repeat; 89 | background-size: 20px 20px; 90 | background-position: center center; 91 | } 92 | 93 | .hasAnchor:hover a.anchor { 94 | visibility: visible; 95 | } 96 | 97 | @media (max-width: 767px) { 98 | .hasAnchor:hover a.anchor { 99 | visibility: hidden; 100 | } 101 | } 102 | 103 | 104 | /* Fixes for fixed navbar --------------------------*/ 105 | 106 | .contents h1, .contents h2, .contents h3, .contents h4 { 107 | padding-top: 60px; 108 | margin-top: -40px; 109 | } 110 | 111 | /* Navbar submenu --------------------------*/ 112 | 113 | .dropdown-submenu { 114 | position: relative; 115 | } 116 | 117 | .dropdown-submenu>.dropdown-menu { 118 | top: 0; 119 | left: 100%; 120 | margin-top: -6px; 121 | margin-left: -1px; 122 | border-radius: 0 6px 6px 6px; 123 | } 124 | 125 | .dropdown-submenu:hover>.dropdown-menu { 126 | display: block; 127 | } 128 | 129 | .dropdown-submenu>a:after { 130 | display: block; 131 | content: " "; 132 | float: right; 133 | width: 0; 134 | height: 0; 135 | border-color: transparent; 136 | border-style: solid; 137 | border-width: 5px 0 5px 5px; 138 | border-left-color: #cccccc; 139 | margin-top: 5px; 140 | margin-right: -10px; 141 | } 142 | 143 | .dropdown-submenu:hover>a:after { 144 | border-left-color: #ffffff; 145 | } 146 | 147 | .dropdown-submenu.pull-left { 148 | float: none; 149 | } 150 | 151 | .dropdown-submenu.pull-left>.dropdown-menu { 152 | left: -100%; 153 | margin-left: 10px; 154 | border-radius: 6px 0 6px 6px; 155 | } 156 | 157 | /* Sidebar --------------------------*/ 158 | 159 | #pkgdown-sidebar { 160 | margin-top: 30px; 161 | position: -webkit-sticky; 162 | position: sticky; 163 | top: 70px; 164 | } 165 | 166 | #pkgdown-sidebar h2 { 167 | font-size: 1.5em; 168 | margin-top: 1em; 169 | } 170 | 171 | #pkgdown-sidebar h2:first-child { 172 | margin-top: 0; 173 | } 174 | 175 | #pkgdown-sidebar .list-unstyled li { 176 | margin-bottom: 0.5em; 177 | } 178 | 179 | /* bootstrap-toc tweaks ------------------------------------------------------*/ 180 | 181 | /* All levels of nav */ 182 | 183 | nav[data-toggle='toc'] .nav > li > a { 184 | padding: 4px 20px 4px 6px; 185 | font-size: 1.5rem; 186 | font-weight: 400; 187 | color: inherit; 188 | } 189 | 190 | nav[data-toggle='toc'] .nav > li > a:hover, 191 | nav[data-toggle='toc'] .nav > li > a:focus { 192 | padding-left: 5px; 193 | color: inherit; 194 | border-left: 1px solid #878787; 195 | } 196 | 197 | nav[data-toggle='toc'] .nav > .active > a, 198 | nav[data-toggle='toc'] .nav > .active:hover > a, 199 | nav[data-toggle='toc'] .nav > .active:focus > a { 200 | padding-left: 5px; 201 | font-size: 1.5rem; 202 | font-weight: 400; 203 | color: inherit; 204 | border-left: 2px solid #878787; 205 | } 206 | 207 | /* Nav: second level (shown on .active) */ 208 | 209 | nav[data-toggle='toc'] .nav .nav { 210 | display: none; /* Hide by default, but at >768px, show it */ 211 | padding-bottom: 10px; 212 | } 213 | 214 | nav[data-toggle='toc'] .nav .nav > li > a { 215 | padding-left: 16px; 216 | font-size: 1.35rem; 217 | } 218 | 219 | nav[data-toggle='toc'] .nav .nav > li > a:hover, 220 | nav[data-toggle='toc'] .nav .nav > li > a:focus { 221 | padding-left: 15px; 222 | } 223 | 224 | nav[data-toggle='toc'] .nav .nav > .active > a, 225 | nav[data-toggle='toc'] .nav .nav > .active:hover > a, 226 | nav[data-toggle='toc'] .nav .nav > .active:focus > a { 227 | padding-left: 15px; 228 | font-weight: 500; 229 | font-size: 1.35rem; 230 | } 231 | 232 | /* orcid ------------------------------------------------------------------- */ 233 | 234 | .orcid { 235 | font-size: 16px; 236 | color: #A6CE39; 237 | /* margins are required by official ORCID trademark and display guidelines */ 238 | margin-left:4px; 239 | margin-right:4px; 240 | vertical-align: middle; 241 | } 242 | 243 | /* Reference index & topics ----------------------------------------------- */ 244 | 245 | .ref-index th {font-weight: normal;} 246 | 247 | .ref-index td {vertical-align: top; min-width: 100px} 248 | .ref-index .icon {width: 40px;} 249 | .ref-index .alias {width: 40%;} 250 | .ref-index-icons .alias {width: calc(40% - 40px);} 251 | .ref-index .title {width: 60%;} 252 | 253 | .ref-arguments th {text-align: right; padding-right: 10px;} 254 | .ref-arguments th, .ref-arguments td {vertical-align: top; min-width: 100px} 255 | .ref-arguments .name {width: 20%;} 256 | .ref-arguments .desc {width: 80%;} 257 | 258 | /* Nice scrolling for wide elements --------------------------------------- */ 259 | 260 | table { 261 | display: block; 262 | overflow: auto; 263 | } 264 | 265 | /* Syntax highlighting ---------------------------------------------------- */ 266 | 267 | pre { 268 | word-wrap: normal; 269 | word-break: normal; 270 | border: 1px solid #eee; 271 | } 272 | 273 | pre, code { 274 | background-color: #f8f8f8; 275 | color: #333; 276 | } 277 | 278 | pre code { 279 | overflow: auto; 280 | word-wrap: normal; 281 | white-space: pre; 282 | } 283 | 284 | pre .img { 285 | margin: 5px 0; 286 | } 287 | 288 | pre .img img { 289 | background-color: #fff; 290 | display: block; 291 | height: auto; 292 | } 293 | 294 | code a, pre a { 295 | color: #375f84; 296 | } 297 | 298 | a.sourceLine:hover { 299 | text-decoration: none; 300 | } 301 | 302 | .fl {color: #1514b5;} 303 | .fu {color: #000000;} /* function */ 304 | .ch,.st {color: #036a07;} /* string */ 305 | .kw {color: #264D66;} /* keyword */ 306 | .co {color: #888888;} /* comment */ 307 | 308 | .message { color: black; font-weight: bolder;} 309 | .error { color: orange; font-weight: bolder;} 310 | .warning { color: #6A0366; font-weight: bolder;} 311 | 312 | /* Clipboard --------------------------*/ 313 | 314 | .hasCopyButton { 315 | position: relative; 316 | } 317 | 318 | .btn-copy-ex { 319 | position: absolute; 320 | right: 0; 321 | top: 0; 322 | visibility: hidden; 323 | } 324 | 325 | .hasCopyButton:hover button.btn-copy-ex { 326 | visibility: visible; 327 | } 328 | 329 | /* headroom.js ------------------------ */ 330 | 331 | .headroom { 332 | will-change: transform; 333 | transition: transform 200ms linear; 334 | } 335 | .headroom--pinned { 336 | transform: translateY(0%); 337 | } 338 | .headroom--unpinned { 339 | transform: translateY(-100%); 340 | } 341 | 342 | /* mark.js ----------------------------*/ 343 | 344 | mark { 345 | background-color: rgba(255, 255, 51, 0.5); 346 | border-bottom: 2px solid rgba(255, 153, 51, 0.3); 347 | padding: 1px; 348 | } 349 | 350 | /* vertical spacing after htmlwidgets */ 351 | .html-widget { 352 | margin-bottom: 10px; 353 | } 354 | 355 | /* fontawesome ------------------------ */ 356 | 357 | .fab { 358 | font-family: "Font Awesome 5 Brands" !important; 359 | } 360 | 361 | /* don't display links in code chunks when printing */ 362 | /* source: https://stackoverflow.com/a/10781533 */ 363 | @media print { 364 | code a:link:after, code a:visited:after { 365 | content: ""; 366 | } 367 | } 368 | -------------------------------------------------------------------------------- /docs/pkgdown.js: -------------------------------------------------------------------------------- 1 | /* http://gregfranko.com/blog/jquery-best-practices/ */ 2 | (function($) { 3 | $(function() { 4 | 5 | $('.navbar-fixed-top').headroom(); 6 | 7 | $('body').css('padding-top', $('.navbar').height() + 10); 8 | $(window).resize(function(){ 9 | $('body').css('padding-top', $('.navbar').height() + 10); 10 | }); 11 | 12 | $('[data-toggle="tooltip"]').tooltip(); 13 | 14 | var cur_path = paths(location.pathname); 15 | var links = $("#navbar ul li a"); 16 | var max_length = -1; 17 | var pos = -1; 18 | for (var i = 0; i < links.length; i++) { 19 | if (links[i].getAttribute("href") === "#") 20 | continue; 21 | // Ignore external links 22 | if (links[i].host !== location.host) 23 | continue; 24 | 25 | var nav_path = paths(links[i].pathname); 26 | 27 | var length = prefix_length(nav_path, cur_path); 28 | if (length > max_length) { 29 | max_length = length; 30 | pos = i; 31 | } 32 | } 33 | 34 | // Add class to parent
  • , and enclosing
  • if in dropdown 35 | if (pos >= 0) { 36 | var menu_anchor = $(links[pos]); 37 | menu_anchor.parent().addClass("active"); 38 | menu_anchor.closest("li.dropdown").addClass("active"); 39 | } 40 | }); 41 | 42 | function paths(pathname) { 43 | var pieces = pathname.split("/"); 44 | pieces.shift(); // always starts with / 45 | 46 | var end = pieces[pieces.length - 1]; 47 | if (end === "index.html" || end === "") 48 | pieces.pop(); 49 | return(pieces); 50 | } 51 | 52 | // Returns -1 if not found 53 | function prefix_length(needle, haystack) { 54 | if (needle.length > haystack.length) 55 | return(-1); 56 | 57 | // Special case for length-0 haystack, since for loop won't run 58 | if (haystack.length === 0) { 59 | return(needle.length === 0 ? 0 : -1); 60 | } 61 | 62 | for (var i = 0; i < haystack.length; i++) { 63 | if (needle[i] != haystack[i]) 64 | return(i); 65 | } 66 | 67 | return(haystack.length); 68 | } 69 | 70 | /* Clipboard --------------------------*/ 71 | 72 | function changeTooltipMessage(element, msg) { 73 | var tooltipOriginalTitle=element.getAttribute('data-original-title'); 74 | element.setAttribute('data-original-title', msg); 75 | $(element).tooltip('show'); 76 | element.setAttribute('data-original-title', tooltipOriginalTitle); 77 | } 78 | 79 | if(ClipboardJS.isSupported()) { 80 | $(document).ready(function() { 81 | var copyButton = ""; 82 | 83 | $(".examples, div.sourceCode").addClass("hasCopyButton"); 84 | 85 | // Insert copy buttons: 86 | $(copyButton).prependTo(".hasCopyButton"); 87 | 88 | // Initialize tooltips: 89 | $('.btn-copy-ex').tooltip({container: 'body'}); 90 | 91 | // Initialize clipboard: 92 | var clipboardBtnCopies = new ClipboardJS('[data-clipboard-copy]', { 93 | text: function(trigger) { 94 | return trigger.parentNode.textContent; 95 | } 96 | }); 97 | 98 | clipboardBtnCopies.on('success', function(e) { 99 | changeTooltipMessage(e.trigger, 'Copied!'); 100 | e.clearSelection(); 101 | }); 102 | 103 | clipboardBtnCopies.on('error', function() { 104 | changeTooltipMessage(e.trigger,'Press Ctrl+C or Command+C to copy'); 105 | }); 106 | }); 107 | } 108 | })(window.jQuery || window.$) 109 | -------------------------------------------------------------------------------- /docs/pkgdown.yml: -------------------------------------------------------------------------------- 1 | pandoc: 2.11.2 2 | pkgdown: 1.6.1 3 | pkgdown_sha: ~ 4 | articles: {} 5 | last_built: 2021-01-27T05:44Z 6 | 7 | -------------------------------------------------------------------------------- /docs/reference/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Function reference • untidydata 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 55 | 56 | 57 | 58 | 59 | 60 | 61 |
    62 |
    63 | 102 | 103 | 104 | 105 |
    106 | 107 |
    108 |
    109 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 138 | 139 | 140 | 141 | 144 | 145 | 146 | 147 | 150 | 151 | 152 | 153 | 156 | 157 | 158 | 159 | 162 | 163 | 164 | 165 |
    124 |

    All functions

    125 |

    126 |
    136 |

    language_diversity

    137 |

    Language diversity data from Nettle (1998).

    142 |

    pre_post

    143 |

    Pre/post test data from two populations.

    148 |

    spanish_vowels

    149 |

    Formant frequencies of Spanish vowels.

    154 |

    spirantization

    155 |

    Spanish consonant and vowel intensity measurements.

    160 |

    vot

    161 |

    Voice onset time data from three populations.

    166 |
    167 | 168 | 173 |
    174 | 175 | 176 |
    177 | 180 | 181 |
    182 |

    Site built with pkgdown 1.6.1.

    183 |
    184 | 185 |
    186 |
    187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | -------------------------------------------------------------------------------- /docs/reference/language_diversity.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Language diversity data from Nettle (1998). — language_diversity • untidydata 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |
    67 |
    68 | 107 | 108 | 109 | 110 |
    111 | 112 |
    113 |
    114 | 119 | 120 |
    121 |

    A long-form dataset containing language diversity observations from Nettle 122 | (1998). The data attempt to explain global patterns of language diversity 123 | and are most useful in wide format.

    124 |

    Nettle, D. (1998). Explaining Global Patterns of Language Diversity. 125 | Journal of Anthropological Archaeology, 17, 354–374.

    126 |
    127 | 128 |
    language_diversity
    129 | 130 | 131 |

    Format

    132 | 133 |

    A data frame with 444 rows and 4 variables:

    134 |
    Continent

    continent lables

    135 |
    Country

    country labels

    136 |
    Measurement

    global pattern measures

    137 |
    Value

    values of measurements

    138 | 139 |
    140 | 141 |

    Source

    142 | 143 |

    https://github.com/jvcasillas/untidydata

    144 | 145 |
    146 | 151 |
    152 | 153 | 154 |
    155 | 158 | 159 |
    160 |

    Site built with pkgdown 1.6.1.

    161 |
    162 | 163 |
    164 |
    165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | -------------------------------------------------------------------------------- /docs/reference/pre_post.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Pre/post test data from two populations. — pre_post • untidydata 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 58 | 59 | 60 | 61 | 62 | 63 | 64 |
    65 |
    66 | 105 | 106 | 107 | 108 |
    109 | 110 |
    111 |
    112 | 117 | 118 |
    119 |

    A simulated dataset containing untidy test scores in percents 120 | from two groups. This data was simulated in R for 121 | teaching purposes.

    122 |
    123 | 124 |
    pre_post
    125 | 126 | 127 |

    Format

    128 | 129 |

    A data frame with 16 rows and 4 variables:

    130 |
    id

    subject id labels, language label

    131 |
    spec

    two grouping variables separated by underscores

    132 |
    test1

    scores from pre-test

    133 |
    test2

    scores from post-test

    134 | 135 |
    136 | 137 |

    Source

    138 | 139 |

    https://github.com/jvcasillas/untidydata

    140 | 141 |
    142 | 147 |
    148 | 149 | 150 |
    151 | 154 | 155 |
    156 |

    Site built with pkgdown 1.6.1.

    157 |
    158 | 159 |
    160 |
    161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | -------------------------------------------------------------------------------- /docs/reference/spanish_vowels.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Formant frequencies of Spanish vowels. — spanish_vowels • untidydata 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 57 | 58 | 59 | 60 | 61 | 62 | 63 |
    64 |
    65 | 104 | 105 | 106 | 107 |
    108 | 109 |
    110 |
    111 | 116 | 117 |
    118 |

    A simulated dataset containing raw f1/f2 for the 5 Spanish 119 | vowels from male and female native speakers.

    120 |
    121 | 122 |
    spanish_vowels
    123 | 124 | 125 |

    Format

    126 | 127 |

    A data frame with 750 rows and 6 variables:

    128 |
    label

    subject id, gender, vowel

    129 |
    rep

    iteration of item

    130 |
    f1

    f1 values, in hz

    131 |
    f2

    f2 values, in hz

    132 | 133 |
    134 | 135 |

    Source

    136 | 137 |

    https://github.com/jvcasillas/untidydata

    138 | 139 |
    140 | 145 |
    146 | 147 | 148 |
    149 | 152 | 153 |
    154 |

    Site built with pkgdown 1.6.1.

    155 |
    156 | 157 |
    158 |
    159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | -------------------------------------------------------------------------------- /docs/reference/spirantization.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Spanish consonant and vowel intensity measurements. — spirantization • untidydata 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 58 | 59 | 60 | 61 | 62 | 63 | 64 |
    65 |
    66 | 105 | 106 | 107 | 108 |
    109 | 110 |
    111 |
    112 | 117 | 118 |
    119 |

    A simulated dataset containing intensity measurements from a word 120 | initial or intervocalic obstruent-vowel sequence for two learner 121 | groups and native Spanish speakers.

    122 |
    123 | 124 |
    spirantization
    125 | 126 | 127 |

    Format

    128 | 129 |

    A data frame with 16 rows and 4 variables:

    130 |
    id

    subject id and proficiency label

    131 |
    position

    word initial or intervocalic position

    132 |
    cIntensity

    intensity in dB from obstruent

    133 |
    vIntensity

    intensity in dB from following vowel

    134 | 135 |
    136 | 137 |

    Source

    138 | 139 |

    https://github.com/jvcasillas/untidydata

    140 | 141 |
    142 | 147 |
    148 | 149 | 150 |
    151 | 154 | 155 |
    156 |

    Site built with pkgdown 1.6.1.

    157 |
    158 | 159 |
    160 |
    161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | -------------------------------------------------------------------------------- /docs/reference/vot.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Voice onset time data from three populations. — vot • untidydata 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 63 | 64 | 65 | 66 | 67 | 68 | 69 |
    70 |
    71 | 110 | 111 | 112 | 113 |
    114 | 115 |
    116 |
    117 | 122 | 123 |
    124 |

    A dataset containing raw voice onset time (VOT) data in ms 125 | from three groups. This data was simulated in R based off 126 | the data set used in Casillas, Diaz, & Simonet (2015).

    127 |

    Casillas, J. V., Diaz, Y. and Simonet, M. (2015). "Acoustics of 128 | Spanish and English coronal stops". In ICPhS 18. Ed. by T. S. C. 129 | for ICPhS 2015. Proceedings of the 18th International Congress 130 | of Phonetic Sciences. University of Glasgow: Glasgow. 131 | http://www.icphs2015.info, ISSN: 241-0669, pp. 1-5.

    132 |
    133 | 134 |
    vot
    135 | 136 | 137 |

    Format

    138 | 139 |

    A data frame with 720 rows and 5 variables:

    140 |
    participant

    subject id labels

    141 |
    language

    language spoken, spanish/english

    142 |
    item

    target word

    143 |
    repetition

    iteration of item

    144 |
    vot

    vot values, in ms

    145 | 146 |
    147 | 148 |

    Source

    149 | 150 |

    https://github.com/jvcasillas/untidydata

    151 | 152 |
    153 | 158 |
    159 | 160 | 161 | 171 |
    172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | -------------------------------------------------------------------------------- /man/language_diversity.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/language_diversity.R 3 | \docType{data} 4 | \name{language_diversity} 5 | \alias{language_diversity} 6 | \title{Language diversity data from Nettle (1998).} 7 | \format{ 8 | A data frame with 444 rows and 4 variables: 9 | \describe{ 10 | \item{Continent}{continent lables} 11 | \item{Country}{country labels} 12 | \item{Measurement}{global pattern measures} 13 | \item{Value}{values of measurements} 14 | } 15 | } 16 | \source{ 17 | \url{https://github.com/jvcasillas/untidydata} 18 | } 19 | \usage{ 20 | language_diversity 21 | } 22 | \description{ 23 | A long-form dataset containing language diversity observations from Nettle 24 | (1998). The data attempt to explain global patterns of language diversity 25 | and are most useful in wide format. 26 | 27 | Nettle, D. (1998). Explaining Global Patterns of Language Diversity. 28 | Journal of Anthropological Archaeology, 17, 354–374. 29 | } 30 | \keyword{datasets} 31 | -------------------------------------------------------------------------------- /man/pre_post.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pre_post.R 3 | \docType{data} 4 | \name{pre_post} 5 | \alias{pre_post} 6 | \title{Pre/post test data from two populations.} 7 | \format{ 8 | A data frame with 16 rows and 4 variables: 9 | \describe{ 10 | \item{id}{subject id labels, language label} 11 | \item{spec}{two grouping variables separated by underscores} 12 | \item{test1}{scores from pre-test} 13 | \item{test2}{scores from post-test} 14 | } 15 | } 16 | \source{ 17 | \url{https://github.com/jvcasillas/untidydata} 18 | } 19 | \usage{ 20 | pre_post 21 | } 22 | \description{ 23 | A simulated dataset containing untidy test scores in percents 24 | from two groups. This data was simulated in R for 25 | teaching purposes. 26 | } 27 | \keyword{datasets} 28 | -------------------------------------------------------------------------------- /man/spanish_vowels.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/spanish_vowels.R 3 | \docType{data} 4 | \name{spanish_vowels} 5 | \alias{spanish_vowels} 6 | \title{Formant frequencies of Spanish vowels.} 7 | \format{ 8 | A data frame with 750 rows and 6 variables: 9 | \describe{ 10 | \item{label}{subject id, gender, vowel} 11 | \item{rep}{iteration of item} 12 | \item{f1}{f1 values, in hz} 13 | \item{f2}{f2 values, in hz} 14 | } 15 | } 16 | \source{ 17 | \url{https://github.com/jvcasillas/untidydata} 18 | } 19 | \usage{ 20 | spanish_vowels 21 | } 22 | \description{ 23 | A simulated dataset containing raw f1/f2 for the 5 Spanish 24 | vowels from male and female native speakers. 25 | } 26 | \keyword{datasets} 27 | -------------------------------------------------------------------------------- /man/spirantization.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/spirantization.R 3 | \docType{data} 4 | \name{spirantization} 5 | \alias{spirantization} 6 | \title{Spanish consonant and vowel intensity measurements.} 7 | \format{ 8 | A data frame with 16 rows and 4 variables: 9 | \describe{ 10 | \item{id}{subject id and proficiency label} 11 | \item{position}{word initial or intervocalic position} 12 | \item{cIntensity}{intensity in dB from obstruent} 13 | \item{vIntensity}{intensity in dB from following vowel} 14 | } 15 | } 16 | \source{ 17 | \url{https://github.com/jvcasillas/untidydata} 18 | } 19 | \usage{ 20 | spirantization 21 | } 22 | \description{ 23 | A simulated dataset containing intensity measurements from a word 24 | initial or intervocalic obstruent-vowel sequence for two learner 25 | groups and native Spanish speakers. 26 | } 27 | \keyword{datasets} 28 | -------------------------------------------------------------------------------- /man/vot.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/vot.R 3 | \docType{data} 4 | \name{vot} 5 | \alias{vot} 6 | \title{Voice onset time data from three populations.} 7 | \format{ 8 | A data frame with 720 rows and 5 variables: 9 | \describe{ 10 | \item{participant}{subject id labels} 11 | \item{language}{language spoken, spanish/english} 12 | \item{item}{target word} 13 | \item{repetition}{iteration of item} 14 | \item{vot}{vot values, in ms} 15 | } 16 | } 17 | \source{ 18 | \url{https://github.com/jvcasillas/untidydata} 19 | } 20 | \usage{ 21 | vot 22 | } 23 | \description{ 24 | A dataset containing raw voice onset time (VOT) data in ms 25 | from three groups. This data was simulated in R based off 26 | the data set used in Casillas, Diaz, & Simonet (2015). 27 | 28 | Casillas, J. V., Diaz, Y. and Simonet, M. (2015). "Acoustics of 29 | Spanish and English coronal stops". In ICPhS 18. Ed. by T. S. C. 30 | for ICPhS 2015. Proceedings of the 18th International Congress 31 | of Phonetic Sciences. University of Glasgow: Glasgow. 32 | http://www.icphs2015.info, ISSN: 241-0669, pp. 1-5. 33 | } 34 | \keyword{datasets} 35 | -------------------------------------------------------------------------------- /untidydata.Rproj: -------------------------------------------------------------------------------- 1 | Version: 1.0 2 | 3 | RestoreWorkspace: Default 4 | SaveWorkspace: Default 5 | AlwaysSaveHistory: Default 6 | 7 | EnableCodeIndexing: Yes 8 | UseSpacesForTab: Yes 9 | NumSpacesForTab: 2 10 | Encoding: UTF-8 11 | 12 | RnwWeave: knitr 13 | LaTeX: pdfLaTeX 14 | 15 | AutoAppendNewline: Yes 16 | 17 | BuildType: Package 18 | PackageUseDevtools: Yes 19 | PackageInstallArgs: --no-multiarch --with-keep.source 20 | PackageRoxygenize: rd,collate,namespace 21 | --------------------------------------------------------------------------------