knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
CitSci.org is a citizen science platform for collecting scientific observations from the community. This R library is for accessing the CitSci.org API. It will mostly be used for authentication & retrieving observations. This is in very early development & will contain bugs. Additional developer information can be found at citsci.org/developers.
General steps to use this library
** This package is hosted in this GitHub repository & is not available directly from CRAN.
package.install('citsci') libaray('citsci')
This is manually done by Brandon. Please email budnicki@colostate.edu
Project privacy may be Public or Private. Public projects do not require you to be a member to download data. Private projects require you to be a member. If you are not a member, request to join the project.
This is a basic example which shows you how to solve a common problem:
library(citsci) ## basic example code
What is special about using README.Rmd
instead of just README.md
? You can include R chunks like so:
summary(cars)
You'll still need to render README.Rmd
regularly, to keep README.md
up-to-date. devtools::build_readme()
is handy for this. You could also use GitHub Actions to re-render README.Rmd
every time you push. An example workflow can be found here: https://github.com/r-lib/actions/tree/v1/examples.
You can also embed plots, for example:
plot(pressure)
In that case, don't forget to commit and push the resulting figure files, so they display on GitHub and CRAN.
You can learn more about package authoring with RStudio at:
[http://r-pkgs.had.co.nz/]
Some useful keyboard shortcuts for package authoring:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.