https://github.com/statnmap/fusen.squirrels
Example of the use of {fusen} with Rmd First method to build a package.
https://github.com/statnmap/fusen.squirrels
fusen rmd-first
Last synced: 12 months ago
JSON representation
Example of the use of {fusen} with Rmd First method to build a package.
- Host: GitHub
- URL: https://github.com/statnmap/fusen.squirrels
- Owner: statnmap
- License: other
- Created: 2021-03-01T20:40:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-02T11:32:26.000Z (over 5 years ago)
- Last Synced: 2025-03-17T15:59:34.525Z (over 1 year ago)
- Topics: fusen, rmd-first
- Language: R
- Homepage: https://statnmap.github.io/fusen.squirrels/
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# fusen.squirrels
[](https://github.com/statnmap/fusen.squirrels/actions)
The goal of {fusen.squirrels} is to present an example of the use of {fusen} with Rmd First method to build a package.
## Installation
You can install the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("statnmap/fusen.squirrels")
```
## Example
This is a basic example which shows how to check entry dataset on [NYC Squirrel Census](https://www.thesquirrelcensus.com/):
```{r example}
library(fusen.squirrels)
## Use internal dataset or your own
datafile <- system.file("nyc_squirrels_sample.csv", package = "fusen.squirrels")
nyc_squirrels <- read.csv(datafile)
## Check integrity of dataset
nyc_squirrels_ok <- check_data_integrity(nyc_squirrels)
```