All functions |
|
---|---|
A dataset containing test RDBES data for H1 in the RDBESDataObject structure |
|
A dataset containing test RDBES data for H5 in the RDBESDataObject structure |
|
A dataset containing test RDBES data for H8 in the RDBESDataObject structure |
|
A made-up dataset for testing manipulations of SA based on SL |
|
A RDBESDataObject converted from package SDAResources dataset agsrs |
|
A RDBESDataObject converted from package SDAResources dataset agstrat |
|
A RDBESDataObject converted from package SDAResources dataset algebra |
|
A RDBESDataObject converted from package SDAResources dataset coots |
|
A Multi-stage RDBESDataObject from package SDAResources dataset coots |
|
A RDBESDataObject converted from package SDAResources dataset gpa |
|
A RDBESDataObject converted from package SDAResources dataset schools |
|
A RDBESDataObject converted from package survey dataset apiclus1 |
|
A Multi-Stage RDBESDataObject converted from package survey dataset apiclus2 |
|
A Clustered RDBESDataObject converted from package survey dataset apiclus2 |
|
A RDBESDataObject converted from package survey dataset apistrat |
|
|
Print method for RDBESDataObject |
Generate probabilities missing from RDBES Data |
|
Check if a column exists in a data table and has unique values |
|
Combine Two RDBES Raw Objects combines 2 RDBESDataObjects into a single RDBESDataObject by merging individual tables one by one |
|
Load raw object and create prepared object Function relies on the data being correctly named following established hierarchy |
|
Create an RDBES Data Object |
|
Creates an rdbesEStObject from prepared RDBES data |
|
Create a table of RDBES Ids |
|
A dataset containing the RDBES "design variable" names |
|
Generates the DBE estimation object for the upper hierarchy tables |
|
Create design-based point and variance estimates from RDBES estimation object (rdbesEstimObj) |
|
Estimate totals and means, and try to generate samples variances for all strata in an RDBESEstObject |
|
Generic function for estimation of population total and variance |
|
Multiple Count Estimator for Population Total and Variance |
|
Filter and remove orphan records in an RDBESDataObject |
|
Filter an RDBESDataObject |
|
This function finds and removed any orphan records in an RDBESDataObject. Normally data that has been downloaded from the RDBES will not contain orphan records - however if the data is subsequently filtered it is possible to introduce orphan records. |
|
Internal function to identify orphan records in a given RDBESDataObject table |
|
Fixes SLid in SL table (facilitating SS-SL joins). |
|
Generate any missing SS rows. When FOcatchReg=="All" it is expected that SScatchFraction is either "Catch" OR "Lan"+"Dis". In the latter case, if one is missing the other is to be assumed 0. This function generates SS rows for any missing catch fractions. |
|
Generate NAs in samples using Species List information |
|
Generate vector of selection or inclusion probabilities |
|
Private function to generate SS rows |
|
Generate a List of Related Data Tables |
|
Generate zeros in samples using Species List information |
|
Private function used by doEstimationForAllStrata to get the estimates |
|
Private function to find which FO rows are not matching SS |
|
Private function to get sub-sample level and top-level SAid for SA data |
|
Returns the tables for a given hierarchy |
|
A dataset containing a copy of the icesSpecWoRMS code list. The latest code list data can be downloaded from https://vocab.ices.dk/ |
|
Internal function to remove orphan records from an RDBESDataObject |
|
Generate a Data Table |
|
A dataset containing the mapping from database column names to R field names |
|
Constructor for RDBESDataObject class |
|
Private function to process the lower hierarchies when creating the RDBESEstObject |
|
Private function to process the upper hierarchies when creating the RDBESEstObject |
|
Remove rows which are not pointing to a valid SpecliestListDetails (SL) records i.e.those rows which have a value of SpeciesListName that does not exist in the SL table. |
|
Remove rows which are not pointing to a valid VesselDetails (VD) records i.e. those rows which have a value of VDid that does not exist in the VD table. |
|
Remove table prefix from variable names |
|
Run basic checks on selection methods and probabilities |
|
For a given RDBESDataObject convert the required columns to the correct data types. (This function can cause an error if we have data in the columns that can't be cast to the desired data type.) |
|
One quarter of sample data from swedish shrimp landings of the SWE_OTB_CRU_32-69_0_0 fishery |
|
One quarter of sample data from swedish shrimp catches of the SWE_OTB_CRU_32-69_0_0 fishery |
|
The tables required for each RDBES hierarchy. |
|
Check Whether an |
|
Checks the data types of the columns in an RDBESDataObject against an expected list of data types. Any differences are returned |
|
check RDBES Raw Object Content Private function to do some basic checks on the content of the RDBESDataObject (e.g. all required field names are present). Function is only used by checkRDBESDataObject and should only be passed a list of non-null objects |
|
check RDBES Data Object field names Private function to do some checks on the columns of an RDBESDataObject -
|
|
Check whether an object is a valid RDBESEstObject |
|
A dataset containing aphia records for species found in icesSpecWoRMS |