knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

citsci

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.

Getting Started

General steps to use this library

Installation

** This package is hosted in this GitHub repository & is not available directly from CRAN.

package.install('citsci')
libaray('citsci')

Register for CitSci.org Account

Get API key

This is manually done by Brandon. Please email budnicki@colostate.edu

Identify data you wish to download

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.

Example

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.

Design & Development

Helpful documentation

You can learn more about package authoring with RStudio at:

[http://r-pkgs.had.co.nz/]

Some useful keyboard shortcuts for package authoring:

Initial Development

Initial Setup Videos



BBudnicki/citscir documentation built on March 28, 2022, 12:02 a.m.