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
示例#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);
 }
示例#2
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 GetStateBlockGroupFileName(AcsState state)
 {
     //TODO:
     return(States.StateToCensusName(state) + Settings.BlockGroupsDataTableSuffix
            + Settings.DataFileTypeExtension);
 }