Comments (1)
Hi Tom,
I'm sorry, but this isn't documented anywhere yet. Thanks for pointing that out. I'll be putting something together soon, but the format is the same as the one that is used by the Suma client. Here is an example:
{
"device": "iPad",
"version": "1.1.0",
"sessions": [
{
"initiativeID": "4",
"startTime": 1396875911,
"endTime": 1396875975,
"counts": [
{
"timestamp": 1396875922,
"number": 1,
"location": 8,
"activities": [
8,
12,
16,
70,
11
]
},
{
"timestamp": 1396875940,
"number": 1,
"location": 8,
"activities": [
16,
10,
14
]
},
{
"timestamp": 1396875961,
"number": 1,
"location": 12,
"activities": [
8,
12,
16
]
},
{
"timestamp": 1396875973,
"number": 1,
"location": 12,
"activities": [
12,
69,
70,
17,
10
]
}
]
}
]
}
As you can see, the counts need to be wrapped in a session. You can choose the session startTime
and endTime
that you think is most appropriate for the imported data. Normally this corresponds to the start and end of data collection.
You could also try imitating the client and submitted the data to the server directly. Drop me a line if I can help.
http://www.lib.ncsu.edu/staff/jmcasden/
from suma.
Related Issues (20)
- Show date/time all the time HOT 1
- Add tooltips to options in client settings.
- Change "X" to "<" on client settings menu HOT 1
- Fully justify settings options in client HOT 4
- Left justify initiatives list HOT 6
- Update developer documentation
- Add parent location to top of location tree HOT 1
- Make initiative title more visible in the client HOT 1
- No initiative should be selected by default HOT 2
- Changing initiatives should end active session HOT 1
- Remove "require all locations" option
- Create changelog in project root
- Suma Server Keeps Logging Admin User Out HOT 2
- LCA Transformer on PHP 7.4 HOT 6
- count bug related to default initiative
- Duplicate submissions allowed HOT 1
- Logging into Admin HOT 1
- Containerization of Application HOT 1
- Updated Install Documentation HOT 2
- Cannot find old initiatives data HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suma.