-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.usfs_fia.population_stratum`
(
  stratum_sequence_number INT64 OPTIONS(description="Foreign key linking the condition down woody material calculation record to the population stratum record."),
  estimation_unit_sequence_number INT64 OPTIONS(description="Foreign key linking the stratum record to the estimation unit record.\"="),
  region_or_station_code INT64 OPTIONS(description="Identification number of the Forest Service National Forest System Region or Station (FIA work unit) that provided the inventory data (see appendix B for more information)."),
  evaluation_identifier INT64 OPTIONS(description="The EVALID code and the RSCD code together uniquely identify a set of field plots and associated Phase 1 summary data used to make population estimates."),
  estimation_unit INT64 OPTIONS(description="The specific geographic area that is stratified. Estimation units are often determined by a combination of geographical boundaries, sampling intensity and ownership."),
  stratum_code INT64 OPTIONS(description="The code used for a particular stratum, which is unique within an RSCD, EVALID, ESTN_UNIT."),
  stratum_description STRING OPTIONS(description="Strata are usually based on land use (e.g., forest or nonforest) but may also be based on other criteria such as ownership (e.g., private/public/national forest)."),
  state_code INT64 OPTIONS(description="Bureau of the Census Federal Information Processing Standards (FIPS) two-digit code for each State. Refer to appendix B. For evaluations that do not conform to the boundaries of a single State the value of STATECD should be set to 99."),
  phase_1_point_count INT64 OPTIONS(description="The number of basic units (pixels or points) in the stratum."),
  phase_2_point_count INT64 OPTIONS(description="The number of field plots that are within the stratum."),
  expansion_factor FLOAT64 OPTIONS(description="expansion_factor"),
  adjustment_factor_for_the_macroplot FLOAT64 OPTIONS(description="Adjustment factor for the macroplot. A value that adjusts the population estimates to account for partially nonsampled plots (access denied and hazardous portions). It is used with condition proportion (COND.CONDPROP_UNADJ) and area expansion (EXPNS) to provide area estimates, when COND.PROP_BASIS = \"\"MACR\"\" (indicating macroplot installed). ADJ_FACTOR_MACR is also used with EXPNS and trees per acre unadjusted (TREE.TPA_UNADJ, TREE.TPAMORT_UNADJ, TREE.TPAREMV_UNADJ, TREE.TPAGROW_UNADJ) to provide tree estimates for sampled land. If a macroplot was not installed, this attribute is left blank (null). Refer to The Forest Inventory and Analysis Database: Population Estimation User Guide (Edition: March, 2017) for detailed examples."),
  adjustment_factor_for_the_subplot FLOAT64 OPTIONS(description="Adjustment factor for the subplot. A value that adjusts the population estimates to account for partially nonsampled plots (access denied and hazardous portions). It is used with condition proportion (COND.CONDPROP_UNADJ) and area expansion (EXPNS) to provide area estimates, when COND.PROP_BASIS = \"\"SUBP\"\" (indicating subplots installed). ADJ_FACTOR_SUBP is also used with EXPNS and trees per acre unadjusted (TREE.TPA_UNADJ, TREE.TPAMORT_UNADJ, TREE.TPAREMV_UNADJ, TREE.TPAGROW_UNADJ) to provide tree estimates for sampled land. Refer to The Forest Inventory and Analysis Database: Population Estimation User Guide (Edition: March, 2017) for detailed examples."),
  adjustment_factor_for_the_microplot FLOAT64 OPTIONS(description="A value that adjusts population estimates to account for partially nonsampled plots (access denied and hazardous portions). It is used with POP_STRATUM.EXPNS and seedlings per acre unadjusted (SEEDLING.TPA_UNADJ) or saplings per acre unadjusted (TREE.TPA_UNADJ where TREE DIA <5.0) to provide tree estimates for sampled land. Refer to The Forest Inventory and Analysis Database: Population Estimation User Guide (Edition: March, 2017) for detailed examples."),
  adjustment_factor_for_coarse_woody_debris FLOAT64 OPTIONS(description="Ratio of transect length that was sampled for coarse woody debris on all partially and fully sampled plots in stratum."),
  adjustment_factor_for_small_fine_woody_debris FLOAT64 OPTIONS(description="Ratio of transect length that was sampled for small fine woody debris on all partially and fully sampled plots in stratum."),
  adjustment_factor_for_large_fine_woody_debris FLOAT64 OPTIONS(description="Ratio of transect length that was sampled for large fine woody debris on all partially and fully sampled plots in stratum."),
  adjustment_factor_for_the_duff_and_litter_layer FLOAT64 OPTIONS(description="Ratio of points that were sampled for duff and litter to target number of points for all partially and fully sampled plots in stratum."),
  pop_stratum_created_by STRING OPTIONS(description="See SURVEY.CREATED_BY description for definition."),
  pop_stratum_created_date DATE OPTIONS(description="See SURVEY.CREATED_DATE description for definition."),
  pop_stratum_created_in_instance INT64 OPTIONS(description="See SURVEY.CREATED_IN_INSTANCE description for definition."),
  pop_stratum_modified_by STRING OPTIONS(description="See SURVEY.MODIFIED_BY description for definition."),
  pop_stratum_modified_date DATE OPTIONS(description="See SURVEY.MODIFIED_DATE description for definition."),
  pop_stratum_modified_in_instance INT64 OPTIONS(description="See SURVEY.MODIFIED_IN_INSTANCE description for definition."),
  pop_stratum_adjustment_factor_for_piles FLOAT64 OPTIONS(description="Ratio of target divided by sampled transect length or area for piles on all partially and fully sampled plots in stratum."),
  adj_factor_regen_micr STRING OPTIONS(description=""),
  adj_factor_inv_subp STRING OPTIONS(description=""),
  adj_factor_p2veg_subp STRING OPTIONS(description=""),
  adj_factor_grndlyr_quad STRING OPTIONS(description="")
)
OPTIONS(
  description="Describes the stratum used in the estimation unit.\t\n\nPages in FIA Documentation: 7-21"
);

INSERT INTO `bigquery-public-data.usfs_fia.population_stratum` (stratum_sequence_number, estimation_unit_sequence_number, region_or_station_code, evaluation_identifier, estimation_unit, stratum_code, stratum_description, state_code, phase_1_point_count, phase_2_point_count, expansion_factor, adjustment_factor_for_the_macroplot, adjustment_factor_for_the_subplot, adjustment_factor_for_the_microplot, adjustment_factor_for_coarse_woody_debris, adjustment_factor_for_small_fine_woody_debris, adjustment_factor_for_large_fine_woody_debris, adjustment_factor_for_the_duff_and_litter_layer, pop_stratum_created_by, pop_stratum_created_date, pop_stratum_created_in_instance, pop_stratum_modified_by, pop_stratum_modified_date, pop_stratum_modified_in_instance, pop_stratum_adjustment_factor_for_piles, adj_factor_regen_micr, adj_factor_inv_subp, adj_factor_p2veg_subp, adj_factor_grndlyr_quad) VALUES (2171, 8, 26, 69401, 992, 2171, 'FIACA-94-California remotely sensed area, no NFS', 6, 1, 1, 91039.0, nan, 1.0, nan, nan, nan, nan, nan, NULL, '2012-12-17', 20004, NULL, 'NaT', NULL, nan, NULL, NULL, NULL, NULL), (2172, 7, 26, 69401, 991, 2172, 'FIACA-94-California remotely sensed area, no NFS', 6, 1, 1, 97500.2015991211, nan, 1.0, nan, nan, nan, nan, nan, NULL, '2012-12-17', 20004, NULL, 'NaT', NULL, nan, NULL, NULL, NULL, NULL), (2173, 8, 26, 69401, 992, 2173, 'FIACA-94-California remotely sensed area, no NFS', 6, 1, 1, 97826.0, nan, 1.0, nan, nan, nan, nan, nan, NULL, '2012-12-17', 20004, NULL, 'NaT', NULL, nan, NULL, NULL, NULL, NULL), (2174, 9, 26, 69401, 993, 2174, 'FIACA-94-California remotely sensed area, no NFS', 6, 1, 1, 98934.0, nan, 1.0, nan, nan, nan, nan, nan, NULL, '2012-12-17', 20004, NULL, 'NaT', NULL, nan, NULL, NULL, NULL, NULL), (2175, 9, 26, 69401, 993, 2175, 'FIACA-94-California remotely sensed area, no NFS', 6, 1, 1, 101265.0, nan, 1.0, nan, nan, nan, nan, nan, NULL, '2012-12-17', 20004, NULL, 'NaT', NULL, nan, NULL, NULL, NULL, NULL);