All Projects → CDCgov → Rnssp

CDCgov / Rnssp

Licence: Apache-2.0 license
A Signature R package for the National Syndromic Surveillance Program (NSSP) at the Centers for Disease Control and Prevention (CDC). A collection of tools, functions, and R Markdown templates that supports the Community of Practice of the NSSP.

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Rnssp

oracdc
Oracle database CDC (Change Data Capture)
Stars: ✭ 51 (+168.42%)
Mutual labels:  cdc
Realtime
Listen to your to PostgreSQL database in realtime via websockets. Built with Elixir.
Stars: ✭ 4,278 (+22415.79%)
Mutual labels:  cdc
southpaw
⚾ Streaming left joins in Kafka for change data capture
Stars: ✭ 48 (+152.63%)
Mutual labels:  cdc
coronavirus-stats
Automatically scrape data and statistics on Coronavirus to make them easily accessible in CSV format
Stars: ✭ 47 (+147.37%)
Mutual labels:  cdc
Debezium
Change data capture for a variety of databases. Please log issues at https://issues.redhat.com/browse/DBZ.
Stars: ✭ 5,937 (+31147.37%)
Mutual labels:  cdc
TiBigData
TiDB connectors for Flink/Hive/Presto
Stars: ✭ 192 (+910.53%)
Mutual labels:  cdc
cdc
Repository gathering basic modules for CDC purpose
Stars: ✭ 30 (+57.89%)
Mutual labels:  cdc
tipoca-stream
Near real time cloud native data pipeline in AWS (CDC+Sink). Hosts code for RedshiftSink. RDS to RedshiftSink Pipeline with masking and reloading support.
Stars: ✭ 43 (+126.32%)
Mutual labels:  cdc
Api
API for Current cases and more stuff about COVID-19 and Influenza
Stars: ✭ 2,323 (+12126.32%)
Mutual labels:  cdc
azure-sql-db-change-stream-debezium
SQL Server Change Stream sample using Debezium
Stars: ✭ 74 (+289.47%)
Mutual labels:  cdc
cdc
☣️ Shell plugin for zsh/bash that allows you to cd to subdirectories of user-defined directories from anywhere, without editing CDPATH.
Stars: ✭ 17 (-10.53%)
Mutual labels:  cdc
osx-ch341-serial
CH340/CH341 based USB to Serial Port Adapter driver for Mac OSX
Stars: ✭ 17 (-10.53%)
Mutual labels:  cdc
pg-logical-replication
PostgreSQL Logical Replication client for node.js
Stars: ✭ 56 (+194.74%)
Mutual labels:  cdc
walrus
Applying RLS to PostgreSQL WAL
Stars: ✭ 59 (+210.53%)
Mutual labels:  cdc
cdc
A library for performing Content-Defined Chunking (CDC) on data streams.
Stars: ✭ 18 (-5.26%)
Mutual labels:  cdc
pg2k4j
Postgresql To Kinesis For Java
Stars: ✭ 69 (+263.16%)
Mutual labels:  cdc
replicator
MySQL Replicator. Replicates MySQL tables to Kafka and HBase, keeping the data changes history in HBase.
Stars: ✭ 41 (+115.79%)
Mutual labels:  cdc
kafka-connect-http
Kafka Connect connector that enables Change Data Capture from JSON/HTTP APIs into Kafka.
Stars: ✭ 81 (+326.32%)
Mutual labels:  cdc
pgcapture
A scalable Netflix DBLog implementation for PostgreSQL
Stars: ✭ 94 (+394.74%)
Mutual labels:  cdc
HadoopDedup
🍉基于Hadoop和HBase的大规模海量数据去重
Stars: ✭ 27 (+42.11%)
Mutual labels:  cdc

Rnssp

Rnssp Pipeline Project Status: Active - The project has reached a stable, usable state and is being actively developed. Lifecycle: stable DOI

Overview

The Rnssp R package is a catalog of data processing and analytics tools, templates, and functions commonly used across the National Syndromic Surveillance Program at the Centers for Disease Control and Prevention (CDC). Its goal is to improve code reproducibility, standardize and document reusable functions, facilitate the sharing of routine reports across the NSSP Community of Practice (CoP), and better engage the NSSP CoP.

Installation

You can install the development version of Rnssp from GitHub:

# install the Rnssp package
devtools::install_github("cdcgov/Rnssp")

Usage

This is a basic example which shows you how to:

  • use the Rnssp package to create an NSSP user profile
  • and use the NSSP user profile to pull data from ESSENCE via the ESSENCE API
library(Rnssp)

## Creating an NSSP user profile
myProfile <- Credentials$new(
  username = askme("Enter your username: "), 
  password = askme()
)

## Inspect your `myProfile` confirming that username and password are completely hidden
myProfile

## JSON URL from ESSENCE API
url <- "https://essence.syndromicsurveillance.org/nssp_essence/api/alerts/regionSyndromeAlerts?end_date=31Jan2021&start_date=29Jan2021"

## Update Start and End dates in ESSENCE API URL
url <- change_dates(url, start_date = Sys.Date() - 30, end_date = Sys.Date())

## Pull Time Series Data from ESSENCE
api_data <- get_api_data(url) # or api_data <- myProfile$get_api_data(url)

## Inspect data object structure
names(api_data)

## Get a glimpse of the pulled dataset
glimpse(api_data$regionSyndromeAlerts) 

Contributing to this project

Should you want to contribute to this project, submit a push request to this Github repository and consider submitting a request to be added as a developer to [email protected].

Getting Help

If you encounter a clear bug, please consider emailing the author at [email protected] and/or file an issue with a minimal reproducible example.

Citing the Rnssp package

citation("Rnssp")

Public Domain Standard Notice

This repository constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC ? 105. This repository is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication. All contributions to this repository will be released under the CC0 dedication. By submitting a pull request you are agreeing to comply with this waiver of copyright interest.

License Standard Notice

The repository utilizes code licensed under the terms of the Apache Software License and therefore is licensed under ASL v2 or later.

This source code in this repository is free: you can redistribute it and/or modify it under the terms of the Apache Software License version 2, or (at your option) any later version.

This source code in this repository is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache Software License for more details.

You should have received a copy of the Apache Software License along with this program. If not, see http://www.apache.org/licenses/LICENSE-2.0.html

The source code forked from other open source projects will inherit its license.

Privacy Standard Notice

This repository contains only non-sensitive, publicly available data and information. All material and community participation is covered by the Disclaimer and Code of Conduct. For more information about CDC's privacy policy, please visit http://www.cdc.gov/other/privacy.html.

Contributing Standard Notice

Anyone is encouraged to contribute to the repository by forking and submitting a pull request. (If you are new to GitHub, you might start with a basic tutorial.) By contributing to this project, you grant a world-wide, royalty-free, perpetual, irrevocable, non-exclusive, transferable license to all users under the terms of the Apache Software License v2 or later.

All comments, messages, pull requests, and other submissions received through CDC including this GitHub page may be subject to applicable federal law, including but not limited to the Federal Records Act, and may be archived. Learn more at http://www.cdc.gov/other/privacy.html.

Records Management Standard Notice

This repository is not a source of government records, but is a copy to increase collaboration and collaborative potential. All government records will be published through the CDC web site.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].