Title: | Data for bbou Project |
---|---|
Description: | This package contains boreal caribou demographic data which can be used as validation for the associated shiny-app and analysis. The overall goal of the bbou packages is to develop a more standardized and consistent method for the comparison of boreal caribou survival rates, recruitment and population dynamics across Canada. |
Authors: | Troy Hegel [aut], Dave Hervieux [aut], Barry Nobert [aut], John Boulanger [aut] , Ayla Pearson [aut, cre] , Joe Thorley [ctb] , Seb Dalgarno [ctb] , Alan Constant [ctb] , Province of Alberta [cph] |
Maintainer: | Ayla Pearson <[email protected]> |
License: | Apache License (>= 2) |
Version: | 0.3.1 |
Built: | 2024-11-16 05:51:18 UTC |
Source: | https://github.com/poissonconsulting/bboudata |
The data must follow all requirements to not error. This format is required for usage of the bbou suite of tools.
bbd_chk_data_recruitment(data, x_name = deparse(substitute(data)))
bbd_chk_data_recruitment(data, x_name = deparse(substitute(data)))
data |
The data frame check. |
x_name |
Name of data frame. |
The data must follow the requirements:
Name of the herd or population
The calendar year the observation occurred. Must be a positive integer.
The calendar month the observation occurred. Must be an integer between 1 and 12.
The day the observation occurred. Must be an integer between 1 and 31.
The total number of cows counted in each group in a survey/year. Must be a positive integer.
The total number of bulls counted in each group in a survey/year. Must be a positive integer
The total number of adults counted that the sex could not be identified in each group in a survey/year. Must be a positive integer.
The total number of yearlings that did not have the sex identified in each group in a survey/year. Must be a positive integer.
The total number of calves counted in each group in a survey/year. Must be a positive integer.
An invisible copy of the original data frame.
bbd_chk_data_recruitment(bbourecruit_a) bbd_chk_data_recruitment(bbourecruit_b) bbd_chk_data_recruitment(bbourecruit_c) # this example will error as it doesn't follow the requirements x <- bbourecruit_a x[1, 4] <- 32L try(bbd_chk_data_recruitment(x))
bbd_chk_data_recruitment(bbourecruit_a) bbd_chk_data_recruitment(bbourecruit_b) bbd_chk_data_recruitment(bbourecruit_c) # this example will error as it doesn't follow the requirements x <- bbourecruit_a x[1, 4] <- 32L try(bbd_chk_data_recruitment(x))
The data must follow all requirements to not error. This format is required for usage of the bbou suite of tools.
bbd_chk_data_survival(data, x_name = deparse(substitute(data)))
bbd_chk_data_survival(data, x_name = deparse(substitute(data)))
data |
The data frame check. |
x_name |
Name of data frame. |
The data must follow the requirements:
Name of the herd or population
The calendar year the observation occurred. Must be a positive integer.
The calendar month the observation occurred. Must be an integer between 1 and 12.
The total number of collared caribou at the start of the month. Must be a positive integer.
The total number of confirmed mortalities in that month. Must be a positive integer.
The total number of mortalities that were not confirmed in that month. Must be a positive integer.
An invisible copy of the original data frame.
bbd_chk_data_survival(bbousurv_a) bbd_chk_data_survival(bbousurv_b) bbd_chk_data_survival(bbousurv_c) # this example will error as it doesn't follow the requirements x <- bbousurv_c x[1, 3] <- 14L try(bbd_chk_data_survival(x))
bbd_chk_data_survival(bbousurv_a) bbd_chk_data_survival(bbousurv_b) bbd_chk_data_survival(bbousurv_c) # this example will error as it doesn't follow the requirements x <- bbousurv_c x[1, 3] <- 14L try(bbd_chk_data_survival(x))
The data contains recruitment information for boreal caribou population B which spans 27 years.
bbourecruit_a
bbourecruit_a
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The day the observation occurred
The number of cows counted in the group
The number of bulls counted in the group
The number of adults which could not be sexed in the group
The number of yearlings counted in the group
The number of calves counted in the group
The data is released under the Open Government Licence - Alberta
The data contains recruitment information for boreal caribou population B which spans 15 years.
bbourecruit_b
bbourecruit_b
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The day the observation occurred
The number of cows counted in the group
The number of bulls counted in the group
The number of adults which could not be sexed in the group
The number of yearlings counted in the group
The number of calves counted in the group
The data is released under the Open Government Licence - Alberta
The data contains recruitment information for boreal caribou population C which spans 9 years.
bbourecruit_c
bbourecruit_c
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The day the observation occurred
The number of cows counted in the group
The number of bulls counted in the group
The number of adults which could not be sexed in the group
The number of yearlings counted in the group
The number of calves counted in the group
The data is released under the Open Government Licence - Alberta
Data are simulated with bbousims
package.
This is a stable population spanning 20 years with annual variation on
female adult survival and female calf survival.
Coverage is low, with 20% of groups observed and 10 collars.
bbourecruit_sim1
bbourecruit_sim1
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The day the observation occurred
The number of cows counted in the group
The number of bulls counted in the group
The number of adults which could not be sexed in the group
The number of yearlings counted in the group
The number of calves counted in the group
Data are simulated with bbousims
package.
This is a stable population spanning 20 years with annual variation on
female adult survival and female calf survival.
Coverage is high, with 70% of groups observed and 40 collars.
bbourecruit_sim2
bbourecruit_sim2
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The day the observation occurred
The number of cows counted in the group
The number of bulls counted in the group
The number of adults which could not be sexed in the group
The number of yearlings counted in the group
The number of calves counted in the group
Data are simulated with bbousims
package.
This is a population spanning 20 years with negative trend on female adult survival
and additional annual variation on female adult survival and female calf survival.
Coverage is medium, with 50% of groups observed and 25 collars.
bbourecruit_sim3
bbourecruit_sim3
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The day the observation occurred
The number of cows counted in the group
The number of bulls counted in the group
The number of adults which could not be sexed in the group
The number of yearlings counted in the group
The number of calves counted in the group
Data are simulated with bbousims
package.
This is a stable population spanning 20 years with small population size
(50 initial adult females) and annual variation on female adult survival and female calf survival.
Coverage is medium, with 40% of groups observed and 20 collars.
bbourecruit_sim4
bbourecruit_sim4
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The day the observation occurred
The number of cows counted in the group
The number of bulls counted in the group
The number of adults which could not be sexed in the group
The number of yearlings counted in the group
The number of calves counted in the group
The data contains survival information for boreal caribou population A which spans 31 years.
bbousurv_a
bbousurv_a
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The total number of collared caribou at the start of the month
The number of confirmed caribou mortalities in the month
The total number of mortalities that were not confirmed in that month
The data is released under the Open Government Licence - Alberta
The data contains survival information for boreal caribou population B which spans 18 years.
bbousurv_b
bbousurv_b
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The total number of collared caribou at the start of the month
The number of confirmed caribou mortalities in the month
The total number of mortalities that were not confirmed in that month
The data is released under the Open Government Licence - Alberta
The data contains survival information for boreal caribou population C which spans 11 years.
bbousurv_c
bbousurv_c
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The total number of collared caribou at the start of the month
The number of confirmed caribou mortalities in the month
The total number of mortalities that were not confirmed in that month
The data is released under the Open Government Licence - Alberta
Data are simulated with bbousims
package.
This is a stable population spanning 20 years with annual variation on
female adult survival and female calf survival.
Coverage is low, with 20% of groups observed and 10 collars.
bbousurv_sim1
bbousurv_sim1
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The total number of collared caribou at the start of the month
The number of confirmed caribou mortalities in the month
The total number of mortalities that were not confirmed in that month
Data are simulated with bbousims
package.
This is a stable population spanning 20 years with annual variation on
female adult survival and female calf survival.
Coverage is high, with 70% of groups observed and 40 collars.
bbousurv_sim2
bbousurv_sim2
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The total number of collared caribou at the start of the month
The number of confirmed caribou mortalities in the month
The total number of mortalities that were not confirmed in that month
Data are simulated with bbousims
package.
This is a population spanning 20 years with negative trend on female adult survival
and additional annual variation on female adult survival and female calf survival.
Coverage is medium, with 50% of groups observed and 25 collars.
bbousurv_sim3
bbousurv_sim3
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The total number of collared caribou at the start of the month
The number of confirmed caribou mortalities in the month
The total number of mortalities that were not confirmed in that month
Data are simulated with bbousims
package.
This is a stable population spanning 20 years with small population size
(50 initial adult females) and annual variation on female adult survival and female calf survival.
Coverage is medium, with 40% of groups observed and 20 collars.
bbousurv_sim4
bbousurv_sim4
A tibble with columns:
Name of the population
The year the observation occurred
The month the observation occurred
The total number of collared caribou at the start of the month
The number of confirmed caribou mortalities in the month
The total number of mortalities that were not confirmed in that month