Azavea.NijPredictivePolicing.ACSAlchemistLibrary.States.StateToCensusName C# (CSharp) Method

StateToCensusName() public static method

The Census uses it's own naming convention for states (currently PascalCase without spaces)
public static StateToCensusName ( AcsState state ) : string
state AcsState
return string
        public static string StateToCensusName(AcsState state)
        {
            return state.ToString();
        }

Usage Example

Example #1
0
 /// <summary>
 /// Given a state, returns the name to the file containing its block group data
 /// </summary>
 /// <param name="state"></param>
 /// <returns></returns>
 public static string GetStateAllGeometryFileName(AcsState state)
 {
     return(States.StateToCensusName(state) + Settings.AllGeographiesDataTableSuffix
            + Settings.DataFileTypeExtension);
 }
All Usage Examples Of Azavea.NijPredictivePolicing.ACSAlchemistLibrary.States::StateToCensusName