CARP Survey Sampling Package
This library contains a sampling package for collecting a survey from the Research Package
collecting the survey answer as part of
the carp_mobile_sensing
package.
This packages supports sampling of the following Measure
types:
survey
See the wiki for further documentation, particularly on available measure types and sampling schemas. There is no privacy protection of data collected from surveys (as part of the default Privacy Schema).
For Flutter plugins for other CARP products, see CARP Mobile Sensing in Flutter.
If you're interested in writing you own sampling packages for CARP, see the description on how to extend CARP on the wiki.
Installing
To use this package, add the following to you pubspc.yaml
file. Note that
this package only works together with carp_mobile_sensing
.
dependencies:
flutter:
sdk: flutter
carp_mobile_sensing: ^0.6.3
carp_survey_package: ^0.6.0
...
Using it
To use this package, import it into your app together with the
carp_mobile_sensing
package:
import 'package:carp_mobile_sensing/carp_mobile_sensing.dart';
import 'package:carp_survey_package/survey.dart';
Before creating a study and running it, register this package in the SamplingPackageRegistry.
SamplingPackageRegistry().register(SurveySamplingPackage());
Libraries
- survey
- A library for collecting survey from the Research Package: [...]