-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from Vincent-Maladiere/add_seer_preprocessing
Add SEER preprocessing
- Loading branch information
Showing
12 changed files
with
561 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
|
||
.. _downloading_seer: | ||
|
||
How to get the SEER dataset | ||
=========================== | ||
|
||
.. currentmodule:: hazardous | ||
|
||
SEER is a reference dataset for cancer statistics in the US, used in competitive risk analysis. | ||
|
||
Below is a quick guide to obtain it. | ||
Note that you will need a **Windows computer** (or emulator) to download the files. | ||
|
||
1. Head to the `SEER data access webpage <https://seerdataaccess.cancer.gov/seer-data-access>`_, enter your email address and click on "Research Data Requests". | ||
2. Fill the form. | ||
3. Confirm your email address and wait a few days before the confirmation. | ||
4. After receiving the confirmation email, go to the `SEER*Stat Software webpage <https://seer.cancer.gov/seerstat/software/>`_ to download the software on Windows. | ||
5. Open it and sign in with your SEER credendials received by email. | ||
|
||
.. image:: _static/seer_home.png | ||
:width: 300 | ||
|
||
|
||
.. raw:: html | ||
|
||
<br></br> | ||
|
||
|
||
6. Use seerstat to open the `data/seer.sl` file. | ||
|
||
.. image:: _static/seer_extract.png | ||
:width: 400 | ||
|
||
|
||
.. raw:: html | ||
|
||
<br></br> | ||
|
||
|
||
You should get a txt file. This file can be loaded using :func:`hazardous.data.load_seer`. | ||
|
||
|
||
.. raw:: html | ||
|
||
<br></br> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,3 +40,4 @@ of this library at this time. | |
|
||
api | ||
auto_examples/index | ||
downloading_seer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from ._competing_weibull import make_synthetic_competing_weibull | ||
from ._seer import load_seer | ||
|
||
__all__ = ["make_synthetic_competing_weibull"] | ||
__all__ = ["make_synthetic_competing_weibull", "load_seer"] |
Oops, something went wrong.