GithubHelp home page GithubHelp logo

mrc-ide / specio Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 0.0 18.05 MB

:rainbow: Spectrum IO for EPP model for HIV epidemic estimates

Home Page: https://mrc-ide.github.io/specio/

R 99.58% Shell 0.42%
spectrum epp

specio's Introduction

specio

Project Status: WIP - Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. Travis-CI Build Status codecov.io

specio handles reading and parsing data from Spectrum PJNZ file into an R consumable format for use in the Estimation and Projection Package (EPP) for estimating and projecting HIV prevalence.

Usage

As well as the functions required for EPP specio also provides 2 more general functions for extracting population data and PLHIV data from the PJNZ file. These are extract_population and extract_hiv_population. See website reference for usage and examples.

Installation

To install internally released version via drat:

# install.packages("drat") # (if needed)
drat:::add("mrc-ide")
install.packages("specio")

specio's People

Contributors

jeffeaton avatar r-ash avatar richfitz avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

specio's Issues

Include iso3 in all functions

When looping over all Spectrum files with e.g. specio::read_total_pop, the output dataframes do not contain any information on which country they are extracted from. Requesting an iso3 column included in all extract functions which would align behaviour with naomi::extract_pjnz_naomi

Issue locating "Results" data

Hello!

I only recently started to work with Spectrum so apologies for a possibly simple question:

Unable to read in files (read_hiv_pop() issue?)

Hi,

I've been trying to use the read_hiv_pop() command, so I tried to run the example code: The pjnz_path points to the right file, but trying to run read_hiv_pop() results in the following error – not sure if this the place to get help but it was the best way I could think of!

(Also, trying to use the ausrail file and read that into read_hiv_pop() gave me the same error.)

Thanks in advance!
Screen Shot 2562-07-29 at 14 34 29

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.