Bridges-C++  3.4.4
Bridges(C++ API)
Public Member Functions | List of all members
bridges::dataset::CancerIncidence Class Reference

#include <CancerIncidence.h>

Detailed Description

A class representing the attributes for cancer incidence.

From the United States Cancer Statistics as part of the U.S. Center for Disease Control, the following data set focuses on the crude rate for all types of cancer reported for different demograpic groups. Significant groupings include age, gender, race and geographical area.

One does not typically create an object from this type, but rather obtain them by calling bridges::DataSource::getCancerIncidenceData()

See also
Refer to tutorial examples on how to use this dataset: https://bridgesuncc.github.io/tutorials/Data_CancerIncidence.html
Data: Courtesy of Corgis Datasets, 2017 Link: http://www.cdc.gov/cancer/npcr/uscs/download_data.htm
Author
Kalpathi Subramanian
Date
June, 2017

Public Member Functions

 CancerIncidence ()
 
double getAgeAdjustedRate () const
 
void setAgeAdjustedRate (double aar)
 
double getAgeAdjustedCI_Lower () const
 
void setAgeAdjustedCI_Lower (double ci_l)
 
double getAgeAdjustedCI_Upper () const
 
void setAgeAdjustedCI_Upper (double ci_u)
 
double getCrudeRate () const
 
void setCrudeRate (double cr)
 
double getCrudeRate_CI_Lower () const
 
void setCrudeRate_CI_Lower (double cr_l)
 
double getCrudeRate_CI_Upper () const
 
void setCrudeRate_CI_Upper (double cr_u)
 Set crude rate CI (upper) More...
 
int getYear () const
 Get the year of this cancer record. More...
 
void setYear (int y)
 
string getGender () const
 Get the gender of the group. More...
 
void setGender (const string &g)
 Set gender of the record. More...
 
string getRace () const
 Get the race of the group. More...
 
void setRace (const string &r)
 Set race. More...
 
string getEventType () const
 Get the event type (incidence, mortality, etc) More...
 
void setEventType (const string &et)
 Set event type. More...
 
int getPopulation () const
 Get the population size. More...
 
void setPopulation (int pop)
 Set population size. More...
 
string getAffectedArea () const
 Get the cancer incidence area (state, region, etc) More...
 
void setAffectedArea (const string &area)
 Set cancer incidenc area. More...
 
int getCount () const
 Get the number of people affected in this group. More...
 
void setCount (int c)
 Set cancer incidence count. More...
 
double getLocationX () const
 
void setLocationX (double locX)
 Set location (X coord) More...
 
double getLocationY () const
 Get the Y coordinate of location. More...
 
void setLocationY (double locY)
 Set location (Y coord) More...
 

Constructor & Destructor Documentation

◆ CancerIncidence()

bridges::dataset::CancerIncidence::CancerIncidence ( )
inline

Member Function Documentation

◆ getAffectedArea()

string bridges::dataset::CancerIncidence::getAffectedArea ( ) const
inline

Get the cancer incidence area (state, region, etc)

Returns
area

◆ getAgeAdjustedCI_Lower()

double bridges::dataset::CancerIncidence::getAgeAdjustedCI_Lower ( ) const
inline

Get the expected cancer rate confidence interval(lower), adjusted for age of participants.

Returns
cancer confidence interval (lower) rate

◆ getAgeAdjustedCI_Upper()

double bridges::dataset::CancerIncidence::getAgeAdjustedCI_Upper ( ) const
inline

Get the expected cancer rate confidence interval(upper), adjusted for age of participants.

Returns
cancer conf interval (lower) rate

◆ getAgeAdjustedRate()

double bridges::dataset::CancerIncidence::getAgeAdjustedRate ( ) const
inline

Get the expected cancer rate, adjusted for age of participants.

Returns
cancer rate

◆ getCount()

int bridges::dataset::CancerIncidence::getCount ( ) const
inline

Get the number of people affected in this group.

Returns
incidence count

◆ getCrudeRate()

double bridges::dataset::CancerIncidence::getCrudeRate ( ) const
inline

Get the cancer rate, adjusted for population

Returns
crude cancer rate

◆ getCrudeRate_CI_Lower()

double bridges::dataset::CancerIncidence::getCrudeRate_CI_Lower ( ) const
inline

Get the expected cancer crude rate confidence interval(lower), adjusted for age of participants.

Returns
cancer conf interval (lower) rate

◆ getCrudeRate_CI_Upper()

double bridges::dataset::CancerIncidence::getCrudeRate_CI_Upper ( ) const
inline

Get the expected cancer crude rate confidence interval(upper), adjusted for age of participants.

Returns
cancer crude rate CI (upper) rate

◆ getEventType()

string bridges::dataset::CancerIncidence::getEventType ( ) const
inline

Get the event type (incidence, mortality, etc)

Returns
event type

◆ getGender()

string bridges::dataset::CancerIncidence::getGender ( ) const
inline

Get the gender of the group.

Returns
gender, can be "male", "female", "male and female"

◆ getLocationX()

double bridges::dataset::CancerIncidence::getLocationX ( ) const
inline

Get the X coordinate of location

Returns
x coordinate

◆ getLocationY()

double bridges::dataset::CancerIncidence::getLocationY ( ) const
inline

Get the Y coordinate of location.

Returns
y coordinate

◆ getPopulation()

int bridges::dataset::CancerIncidence::getPopulation ( ) const
inline

Get the population size.

Returns
population

◆ getRace()

string bridges::dataset::CancerIncidence::getRace ( ) const
inline

Get the race of the group.

Returns
race (All Races, etc)

◆ getYear()

int bridges::dataset::CancerIncidence::getYear ( ) const
inline

Get the year of this cancer record.

Returns
year of the record

◆ setAffectedArea()

void bridges::dataset::CancerIncidence::setAffectedArea ( const string &  area)
inline

Set cancer incidenc area.

Parameters
[in]area

◆ setAgeAdjustedCI_Lower()

void bridges::dataset::CancerIncidence::setAgeAdjustedCI_Lower ( double  ci_l)
inline

Set age adjusted cancer conf interval (lower)

Parameters
[in]ci_lage adjusted cancer conf interval (lower)

◆ setAgeAdjustedCI_Upper()

void bridges::dataset::CancerIncidence::setAgeAdjustedCI_Upper ( double  ci_u)
inline

Set age adjusted cancer conf interval (upper)

Parameters
[in]ci_uage adjusted cancer conf interval (upper)

◆ setAgeAdjustedRate()

void bridges::dataset::CancerIncidence::setAgeAdjustedRate ( double  aar)
inline

Set age adjusted cancer rate

Parameters
[in]aarage adjusted rate

◆ setCount()

void bridges::dataset::CancerIncidence::setCount ( int  c)
inline

Set cancer incidence count.

Parameters
ccancer incidence count

◆ setCrudeRate()

void bridges::dataset::CancerIncidence::setCrudeRate ( double  cr)
inline

Set cancer rate, adjusted for population

Parameters
[in]crcancer rate

◆ setCrudeRate_CI_Lower()

void bridges::dataset::CancerIncidence::setCrudeRate_CI_Lower ( double  cr_l)
inline

Set age adjusted cancer crude conf interval (lower)

Parameters
[in]cr_lage adjusted cancer crude conf interval (lower)

◆ setCrudeRate_CI_Upper()

void bridges::dataset::CancerIncidence::setCrudeRate_CI_Upper ( double  cr_u)
inline

Set crude rate CI (upper)

Parameters
[in]cr_uupper bound for crude rate confidence interval

◆ setEventType()

void bridges::dataset::CancerIncidence::setEventType ( const string &  et)
inline

Set event type.

Parameters
etevent type

◆ setGender()

void bridges::dataset::CancerIncidence::setGender ( const string &  g)
inline

Set gender of the record.

Parameters
[in]ggender to set

◆ setLocationX()

void bridges::dataset::CancerIncidence::setLocationX ( double  locX)
inline

Set location (X coord)

Parameters
locXX coordinate of location

◆ setLocationY()

void bridges::dataset::CancerIncidence::setLocationY ( double  locY)
inline

Set location (Y coord)

Parameters
locYY coordinate of location

◆ setPopulation()

void bridges::dataset::CancerIncidence::setPopulation ( int  pop)
inline

Set population size.

Parameters
poppopulation

◆ setRace()

void bridges::dataset::CancerIncidence::setRace ( const string &  r)
inline

Set race.

Parameters
[in]r

◆ setYear()

void bridges::dataset::CancerIncidence::setYear ( int  y)
inline

The documentation for this class was generated from the following file: