Science Score: 85.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
    Organization txwri has institutional domain (twri.tamu.edu)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.4%) to scientific vocabulary

Keywords

pfas survey water
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: TxWRI
  • License: cc-by-4.0
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 5.85 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 3
Topics
pfas survey water
Created almost 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme License Citation

README.Rmd

---
title: "TWRI PFAS Survey Data and Analysis Code"
output: github_document
---

```{r setup, include=FALSE, message=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(survey)
```


[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.8132988.svg)](https://doi.org/10.5281/zenodo.8132988)
[![License: CC BY 4.0](https://img.shields.io/badge/License-CC_BY_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)

This is the data and code repository for the PFAS Public Survey study. 

Berthold, A., McCrary A., deVilleneuve, S., Schramm, M. In Submission.


This project uses the [renv](https://rstudio.github.io/renv/) and [targets](https://docs.ropensci.org/targets/) R packages to facilitate reproducibility. Once the project is downloaded and
opened in RStudio install the renv package:

```{r install, eval=FALSE}
install.packages("renv")
```

The packages and package versions used in the project can be installed and restored using:
```{r restore, eval=FALSE}
renv::restore()
```

To reproduce the analysis you will need a Census API key which can be obtained from https://api.census.gov/data/key_signup.html. Then use targets to rerun the analysis. This will take a little while to run:
```{r make, eval=FALSE}
tidycensus::census_api_key("API KEY GOES HERE")
targets::tar_make()
```

Survey responses used in our analysis are obtained with:

```{r data}
targets::tar_read(pfas_analysis_data)
```

Five models were fit in the analysis:

`m1`: Proportional odds model relating self-described knowledge about PFAS to demographic indicators and community PFAS exposure.

`m2`: Summary of 13 proportional odds models relating familiarity of 13 items with potential for PFAS contamination with demographic indicators and community PFAS exposure.

`m3`: Summary of 13 proportional odds models relating intention to change 13 items with potential for PFAS contamination with demographic indicators and community PFAS exposure.

`m4`: Logistic regression relating awareness of PFAS contamintion in drinking water with demographics, community PFAS exposure, and drinking water soruces.

`m5`: Proportional odds model relating levels of concern about PFAS in drinking water with demographics, drinking water sources, and awareness of drinking water contamination.

Model results can be obtained as follows:

```{r m1}
targets::tar_read(m1) |> summary()
```

`m1` and `m2` require some tidying:
```{r m2}
## each model is a row 1:13:
targets::tar_read(m2)$m[[1]] |> summary()
```


```{r}
renv::diagnostics()
```

Owner

  • Name: Texas Water Resources Institute
  • Login: TxWRI
  • Kind: organization
  • Email: michael.schramm@ag.tamu.edu
  • Location: College Station, TX

A part of the Texas A&M System and Texas A&M Agrilife, the Texas Water Resources Institute solves vital water issues through research & outreach

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: 'TWRI PFAS Survey Data and Analysis Code: v1.2'
message: >-
  If you use this dataset, please cite it using the metadata
  from this file.
type: dataset
authors:
  - given-names: Allen
    family-names: Berthold
    email: allen.berthold@ag.tamu.edu
    affiliation: >-
      Texas A&M AgriLife Extension, Texas Water Resources
      Institute
  - given-names: Audrey
    family-names: McCrary
    email: audrey.mccrary@ag.tamu.edu
    affiliation: >-
      Texas A&M AgriLife Extension, Texas Water Resources
      Insitute
    orcid: 'https://orcid.org/0000-0002-7061-6113'
  - given-names: Stephanie
    family-names: deVilleneuve
    email: s.devilleneuve@ag.tamu.edu
    affiliation: >-
      Texas A&M AgriLife Research, Texas Water Resources
      Institute
    orcid: 'https://orcid.org/0009-0002-3984-035X'
  - given-names: Michael
    family-names: Schramm
    email: michael.schramm@ag.tamu.edu
    affiliation: Texas A&M AgriLife Research
    orcid: 'https://orcid.org/0000-0003-1876-6592'
identifiers:
  - type: doi
    value: 10.5281/zenodo.8132988
repository-code: 'https://github.com/TxWRI/pfas-survey'
keywords:
  - PFAS
  - survey
  - water
  - communication
license: CC-BY-4.0
version: '1.2'
date-released: '2023-07-11'

GitHub Events

Total
  • Issues event: 1
Last Year
  • Issues event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 6
  • Total Committers: 2
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.333
Past Year
  • Commits: 6
  • Committers: 2
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.333
Top Committers
Name Email Commits
Michael Schramm m****m@a****u 4
Michael Schramm m****m@g****m 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 minute
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 minute
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • mps9506 (1)
Pull Request Authors
  • mps9506 (1)
Top Labels
Issue Labels
Pull Request Labels