Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incidence working for counties #130

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from
Draft

incidence working for counties #130

wants to merge 2 commits into from

Conversation

seankross
Copy link
Contributor

Description

SCP changed how they serve incidence data, so we need to update incidence_cancer().

Testing

@vsriram24 for now incidence_cancer() only works for counties. Give this branch a try locally and let me know how it goes:

incidence_cancer(
  area = "wa",
  areatype = "county",
  cancer = "all cancer sites",
  race = "black (non-hispanic)",
  sex = "both sexes",
  age = "ages 65+",
  stage = "all stages",
  year = "latest 5 year average"
)

@vsriram24
Copy link

@seankross I tried your example code after calling the fix-incidence branch of cancerprof (by calling pak("getwilds/cancerprof@fix-incidence")), and unfortunately I am seeing the attached error
Screenshot 2024-09-24 at 5 10 09 PM

@seankross
Copy link
Contributor Author

Hey @vsriram24, I just pushed an update to this. Make sure all of your packages are up to date, then install this (pak::pak("getwilds/cancerprof@fix-incidence")), and let me know how it goes.

@vsriram24
Copy link

@seankross eureka!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants