Closed
Bug 1010408
Opened 11 years ago
Closed 11 years ago
Create spreadsheet template for bulk uploading events
Categories
(Webmaker Graveyard :: Events, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: brett, Assigned: cade)
Details
(Whiteboard: [events] [july11] [events-mp])
Attachments
(1 file)
Use case: a partner (lets say YMCA) has hundreds of events, they want to add them to maker party.
Suggestion - can we do CSV or other spreadsheet importing of data, if we give them a specific spreadsheet to import?
Comment 1•11 years ago
|
||
* Gavin: do you have a sense of what train this will ship on?
Flags: needinfo?(gavin)
Comment 2•11 years ago
|
||
Brett, I like this test case and I'll raise you one: A partner, the Cities of Learning, have 100,000 events. Can we export them over?
Comment 3•11 years ago
|
||
I think the next sprint would work. We need to get more info from our partners regarding their current events databases though.
If we can't figure out something standardized then this will be impossible to automate for all partners.
Flags: needinfo?(gavin)
Comment 4•11 years ago
|
||
Maybe just drop the idea of handling some sort of standard format? So long as it's in a structured format (JSON, CSV, XML, SQL, etc), we can convert it to whatever format is easily imported into the database.
| Reporter | ||
Comment 5•11 years ago
|
||
> Brett, I like this test case and I'll raise you one: A partner, the Cities
> of Learning, have 100,000 events. Can we export them over?
Robert can you give us a URL where these show up? Are these on an events platform or individual events?
| Reporter | ||
Comment 6•11 years ago
|
||
Something I'd like us to be able to do as a baseline:
Have a CSV file that we know when imported works (event host, dates, description). Then we can use this ourselves to bulk enter many events, as well as give to partners to ask them to fill out manually.
Comment 7•11 years ago
|
||
Comment 8•11 years ago
|
||
Note: that is where most Hive orgs are posting events in Chicago (beat us to it months ago).
Updated•11 years ago
|
Whiteboard: [events-mp] → [events] [june27] [events-mp]
Updated•11 years ago
|
Status: NEW → ASSIGNED
| Reporter | ||
Comment 9•11 years ago
|
||
Given that we are focusing on adding mentors and RSVP to events changes this sprint, lets instead commit to settling on a plan of how to do this, and implementing prior to the start of the campaign.
Summary: Allow partners to bulk upload events → Discuss approach to bulk upload events
Comment 10•11 years ago
|
||
* Agreed. Gavin, do you have a proposal? In terms of preferred process / format?
Flags: needinfo?(gavin)
Comment 11•11 years ago
|
||
My basic idea is distributing a spreadsheet (Probably in Excel format) to partners to populate with their event data.
The tricky part is ensuring that what they fill in can be properly ingested into our system. Many of the fields require validation and follow particular schemas.
Some examples:
Attendees: This can only be a value of 5, 15, 35, 75, 150, 350 or 500 to display properly.
Event link: Must be valid URL
Start Date: Must be either a parseable natural language date or an ODBC Canonical format.
Location: This is a natural language string that is broken into multiple fields by Google's autocomplete API. I'm assuming this can be done on the server side, but not certain.
Tags: Must be CSV.
As you can see it can get complex and difficult to ensure proper translation into our system without human validation.
The most *bulletproof* fashion for bulk adding events is unfortunately the slowest: people performing manual data entry using our Events app.
(I'm flagging Jbuck to see if he has any other ideas/thoughts...)
Flags: needinfo?(gavin) → needinfo?(jon)
Comment 12•11 years ago
|
||
Yeah, I think the best we can hope for is to be given some sort of spreadsheet. Then for some value of n, if it's less than n, manually add events. If it's larger than n, lets get some developer time to script uploading that event to our service.
Flags: needinfo?(jon)
Comment 13•11 years ago
|
||
* Okey doke, thanks guys.
* Amira / Lucy: does this work for you?
Flags: needinfo?(lucy)
Flags: needinfo?(amira)
Summary: Discuss approach to bulk upload events → Document approach for bulk uploading events
Comment 14•11 years ago
|
||
Sounds good! As long as we give really clear instructions I think it will work. We can even make a little "how to" video if it feels complicated.
Flags: needinfo?(lucy)
Comment 15•11 years ago
|
||
* Ok great. Lucy: can you create the spreadsheet template for partners to use? It will be helpful to send them an attachment that helps them enter the data using the format we want
* We can then attach it along with instructions here:
https://wiki.mozilla.org/Maker_Party/Event_upload
Flags: needinfo?(amira) → needinfo?(lucy)
Summary: Document approach for bulk uploading events → Create spreadsheet template for bulk uploading events
| Reporter | ||
Comment 16•11 years ago
|
||
Actually, I dont think Lucy can make this. Instead, Gavin or another dev needs to format this in a way that will make it possible to input it into our system.
| Reporter | ||
Comment 17•11 years ago
|
||
In addition to this list, I still think we need to find out of their are partners who platforms that might want to push or pull from our API.
Before closing this, I think we need Lucy to create a list of partners that have platforms that have their own events platforms? Similar to Robert's in comment #7
Comment 18•11 years ago
|
||
(In reply to Brett Gaylor [:brett] from comment #17)
> In addition to this list, I still think we need to find out if there are partners who platforms that might want to push or pull from our API.
+1 . Claw asked me about that very thing today.
Proposal: let's tackle the fancier API stuff in this ticket:
Bug 1027832 - Document our event platform integration plan for key partners
And just make this ticket about simpler / hackier spreadsheet import? That still seems like a use case worth supporting separate and apart from the fancier API stuff.
What do you think Brett?
Flags: needinfo?(brett)
Comment 19•11 years ago
|
||
I can try and pull that list together. I'll see if Amira has an idea off the partners who have their own platforms off the top of her head. Otherwise I'll have to go to each of their sites individually and check.
Flags: needinfo?(lucy) → needinfo?(amira)
Comment 20•11 years ago
|
||
* Lucy: let's make sure we co-ordinate on this. And document that list together here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1027832
(worried that we're going to cross wires or duplicate effort)
Flags: needinfo?(lucy)
Comment 21•11 years ago
|
||
* Brett: should we mark this one resolved wontfix, and carry on with the work here in bug 1027832?
It includes a partner list that Claw has started
https://etherpad.mozilla.org/event-partners
Updated•11 years ago
|
Flags: needinfo?(lucy)
| Reporter | ||
Comment 22•11 years ago
|
||
No I still think we need this template for those partners who may not have a platform yet still have many events. However, going to push this to next sprint.
Flags: needinfo?(brett)
Whiteboard: [events] [june27] [events-mp] → [events] [july11] [events-mp]
Comment 23•11 years ago
|
||
* Ok. Lucy: can you try creating a spreadsheet template + updated instructions here:
https://wiki.mozilla.org/Maker_Party/Event_upload
Assignee: gavin → lucy
| Reporter | ||
Comment 24•11 years ago
|
||
I think Gavin or another developer has to make this first in the format that will work on the platform.
Assignee: lucy → gavin
| Reporter | ||
Updated•11 years ago
|
Assignee: gavin → cade
| Assignee | ||
Comment 25•11 years ago
|
||
I've done a first pass on a spreadsheet with validation for several fields.
https://docs.google.com/spreadsheets/d/1E4lNReyIqwIMiPsMHXW3bbqfwQ6zziUX_BIE2blvOB0/edit?usp=sharing
If someone knows how to tell it to apply validation to a range - ie. B2:B(INFINITY) - that'd be great. can't seem to validate past row 1000
| Assignee | ||
Comment 26•11 years ago
|
||
Adds a script for importing events from a CSV file (generated from a spreadsheet)
Expected data format is the output of this template spreadsheet (as CSV): https://docs.google.com/spreadsheets/d/1E4lNReyIqwIMiPsMHXW3bbqfwQ6zziUX_BIE2blvOB0/edit?usp=sharing
run via: node scripts/bulkImport ~/relative/path/to/csv/file.csv
If a single row fails for any reason, the entire dataset is not committed to the database.
Attachment #8451113 -
Flags: review?(jon)
Comment 27•11 years ago
|
||
* Cade: the wiki stub for user documentation is here:
https://wiki.mozilla.org/Maker_Party/Event_upload
* Can you have a go at drafting steps we want partners to follow? plus link to whatever templates you want them to use, etc.
Flags: needinfo?(cade)
| Assignee | ||
Comment 28•11 years ago
|
||
Wrote a draft here: https://wiki.mozilla.org/Maker_Party/Event_upload
I think maybe we should track this portion of the work in bug 1035373
Flags: needinfo?(cade)
Updated•11 years ago
|
Attachment #8451113 -
Flags: review?(jon) → review-
| Assignee | ||
Updated•11 years ago
|
Attachment #8451113 -
Flags: review- → review?(jon)
Updated•11 years ago
|
Attachment #8451113 -
Flags: review?(jon) → review+
Comment 29•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/webmaker-events-service
https://github.com/mozilla/webmaker-events-service/commit/e28012494f271d8d57e5c5d8519234178a849bec
Bug 1010408 - Bulk event creation via CSV importing script
| Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•